mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-07 11:36:47 +00:00
Create tabs manager and refactor tab related logic (#66)
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
This commit is contained in:
@@ -252,7 +252,7 @@ export default class SettingsTab extends TabsBase implements ViewModels.Settings
|
||||
this.throughputModeRadioName = `throughputModeRadio${this.tabId}`;
|
||||
|
||||
this.changeFeedPolicyToggled = editable.observable<ChangeFeedPolicyToggledState>(
|
||||
this.collection.rawDataModel.changeFeedPolicy != null
|
||||
this.collection.rawDataModel?.changeFeedPolicy != null
|
||||
? ChangeFeedPolicyToggledState.On
|
||||
: ChangeFeedPolicyToggledState.Off
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user