mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-30 21:21:52 +00:00
allow null values in config (fixes #165)
This commit is contained in:
@@ -221,6 +221,9 @@ export class SessionsService {
|
||||
}
|
||||
|
||||
private getPersistence (): SessionPersistenceProvider {
|
||||
if (!this.config.store.terminal.persistence) {
|
||||
return null
|
||||
}
|
||||
return this.persistenceProviders.find(x => x.id === this.config.store.terminal.persistence) || null
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user