mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-22 19:23:22 +00:00
reload all databases before loading offers
This commit is contained in:
@@ -598,6 +598,7 @@ export default class Collection implements ViewModels.Collection {
|
||||
public onSettingsClick = async (): Promise<void> => {
|
||||
useSelectedNode.getState().setSelectedNode(this);
|
||||
const throughputCap = userContext.databaseAccount?.properties.capacity?.totalThroughputLimit;
|
||||
await this.container.onRefreshResourcesClick();
|
||||
throughputCap && throughputCap !== -1 ? await useDatabases.getState().loadAllOffers() : await this.loadOffer();
|
||||
// if (throughputCap && throughputCap !== -1) {
|
||||
// try {
|
||||
|
||||
Reference in New Issue
Block a user