Remove Explorer.flight and Explorer.hasWriteAccess (#618)

* Remove Explorer.flight

* Update snapshots

* Remove Explorere.hasWriteAccess

* Update snapshot
This commit is contained in:
Steve Faulkner
2021-04-06 13:33:12 -05:00
committed by GitHub
parent c75618862e
commit cb7760b3f6
10 changed files with 21 additions and 48 deletions

View File

@@ -117,10 +117,6 @@ export default class CassandraAddCollectionPane extends ContextualPaneBase {
this.resetData();
this.container.flight.subscribe(() => {
this.resetData();
});
this.requestUnitsUsageCostDedicated = ko.computed(() => {
const account = this.container.databaseAccount();
if (!account) {
@@ -311,7 +307,7 @@ export default class CassandraAddCollectionPane extends ContextualPaneBase {
defaultsCheck: {
storage: "u",
throughput: this.throughput(),
flight: this.container.flight(),
flight: userContext.addCollectionFlight,
},
dataExplorerArea: Constants.Areas.ContextualPane,
};
@@ -363,7 +359,7 @@ export default class CassandraAddCollectionPane extends ContextualPaneBase {
defaultsCheck: {
storage: "u",
throughput: this.throughput(),
flight: this.container.flight(),
flight: userContext.addCollectionFlight,
},
dataExplorerArea: Constants.Areas.ContextualPane,
toCreateKeyspace: toCreateKeyspace,
@@ -407,7 +403,7 @@ export default class CassandraAddCollectionPane extends ContextualPaneBase {
defaultsCheck: {
storage: "u",
throughput: this.throughput(),
flight: this.container.flight(),
flight: userContext.addCollectionFlight,
},
dataExplorerArea: Constants.Areas.ContextualPane,
toCreateKeyspace: toCreateKeyspace,
@@ -435,7 +431,7 @@ export default class CassandraAddCollectionPane extends ContextualPaneBase {
defaultsCheck: {
storage: "u",
throughput: this.throughput(),
flight: this.container.flight(),
flight: userContext.addCollectionFlight,
},
dataExplorerArea: Constants.Areas.ContextualPane,
toCreateKeyspace: toCreateKeyspace,