mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 01:11:25 +00:00
More ViewModel cleanup (#116)
This commit is contained in:
@@ -32,7 +32,7 @@ export class SplashScreenComponentAdapter implements ReactAdapter {
|
||||
|
||||
constructor(private container: Explorer) {
|
||||
this.parameters = ko.observable<number>(Date.now());
|
||||
this.container.tabsManager.openedTabs.subscribe((tabs: ViewModels.Tab[]) => {
|
||||
this.container.tabsManager.openedTabs.subscribe(tabs => {
|
||||
if (tabs.length === 0) {
|
||||
this.forceRender();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user