feat: support mounted vault workspaces
This commit is contained in:
@@ -16,6 +16,7 @@ export interface SettingsPreferenceDraft {
|
||||
analytics: boolean
|
||||
dateDisplayFormat: DateDisplayFormat
|
||||
defaultNoteWidth: NoteWidthMode
|
||||
multiWorkspaceEnabled: boolean
|
||||
sidebarTypePluralizationEnabled: boolean
|
||||
}
|
||||
|
||||
@@ -39,4 +40,9 @@ export function trackSettingsPreferenceChanges(settings: Settings, draft: Settin
|
||||
if (previousPluralization !== draft.sidebarTypePluralizationEnabled) {
|
||||
trackSidebarTypePluralizationChanged(draft.sidebarTypePluralizationEnabled)
|
||||
}
|
||||
|
||||
const previousMultiWorkspaceEnabled = settings.multi_workspace_enabled === true
|
||||
if (previousMultiWorkspaceEnabled !== draft.multiWorkspaceEnabled) {
|
||||
trackEvent('multi_workspace_mode_changed', { enabled: draft.multiWorkspaceEnabled ? 1 : 0 })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user