Update Tab title from 'Items' to id + ' - Items' to make it easier to differentiate (#1233)

This commit is contained in:
Mathieu Tremblay 2022-03-11 15:50:44 -05:00 committed by GitHub
parent 5c8016ecd6
commit d1587ef033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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`,