diff options
author | 2021-09-04 08:01:01 +0530 | |
---|---|---|
committer | 2021-09-04 08:01:01 +0530 | |
commit | 7ad396d1eeaa299cabff799e9fa03848a0924bba (patch) | |
tree | ab10840277937fbccd5df44be51d8e3ed72ea66a /src/features/workspaces/models/Workspace.js | |
parent | 5.6.1-nightly.49 [skip ci] (diff) | |
download | ferdium-app-7ad396d1eeaa299cabff799e9fa03848a0924bba.tar.gz ferdium-app-7ad396d1eeaa299cabff799e9fa03848a0924bba.tar.zst ferdium-app-7ad396d1eeaa299cabff799e9fa03848a0924bba.zip |
chore: Ensure stored settings conform to type-safety
Diffstat (limited to 'src/features/workspaces/models/Workspace.js')
-rw-r--r-- | src/features/workspaces/models/Workspace.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/workspaces/models/Workspace.js b/src/features/workspaces/models/Workspace.js index 11ee377cd..d9488e991 100644 --- a/src/features/workspaces/models/Workspace.js +++ b/src/features/workspaces/models/Workspace.js | |||
@@ -23,7 +23,7 @@ export default class Workspace { | |||
23 | this.order = data.order; | 23 | this.order = data.order; |
24 | 24 | ||
25 | let { services } = data; | 25 | let { services } = data; |
26 | if (data.saving && data.keepLoaded) { | 26 | if (data.saving && Boolean(data.keepLoaded)) { |
27 | // Keep workspaces loaded | 27 | // Keep workspaces loaded |
28 | services.push(KEEP_WS_LOADED_USID); | 28 | services.push(KEEP_WS_LOADED_USID); |
29 | } else if (data.saving && data.services.includes(KEEP_WS_LOADED_USID)) { | 29 | } else if (data.saving && data.services.includes(KEEP_WS_LOADED_USID)) { |