Update Tab title from 'Items' to id + ' - Items' to make it easier to differentiate (#1233)
This commit is contained in:
parent
5c8016ecd6
commit
d1587ef033
|
@ -308,7 +308,7 @@ export default class Collection implements ViewModels.Collection {
|
||||||
collectionName: this.id(),
|
collectionName: this.id(),
|
||||||
|
|
||||||
dataExplorerArea: Constants.Areas.Tab,
|
dataExplorerArea: Constants.Areas.Tab,
|
||||||
tabTitle: "Items",
|
tabTitle: this.rawDataModel.id + " - Items",
|
||||||
});
|
});
|
||||||
this.documentIds([]);
|
this.documentIds([]);
|
||||||
|
|
||||||
|
@ -316,7 +316,7 @@ export default class Collection implements ViewModels.Collection {
|
||||||
partitionKey: this.partitionKey,
|
partitionKey: this.partitionKey,
|
||||||
documentIds: ko.observableArray<DocumentId>([]),
|
documentIds: ko.observableArray<DocumentId>([]),
|
||||||
tabKind: ViewModels.CollectionTabKind.Documents,
|
tabKind: ViewModels.CollectionTabKind.Documents,
|
||||||
title: "Items",
|
title: this.rawDataModel.id + " - Items",
|
||||||
collection: this,
|
collection: this,
|
||||||
node: this,
|
node: this,
|
||||||
tabPath: `${this.databaseId}>${this.id()}>Documents`,
|
tabPath: `${this.databaseId}>${this.id()}>Documents`,
|
||||||
|
|
Loading…
Reference in New Issue