mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-29 22:02:01 +00:00
WIP
This commit is contained in:
@@ -442,7 +442,6 @@ exports[`SettingsComponent renders 1`] = `
|
||||
},
|
||||
"databaseAccount": [Function],
|
||||
"databases": [Function],
|
||||
"defaultExperience": [Function],
|
||||
"deleteCollectionText": [Function],
|
||||
"deleteDatabaseText": [Function],
|
||||
"graphStylingPane": GraphStylingPane {
|
||||
@@ -1002,7 +1001,6 @@ exports[`SettingsComponent renders 1`] = `
|
||||
},
|
||||
"databaseAccount": [Function],
|
||||
"databases": [Function],
|
||||
"defaultExperience": [Function],
|
||||
"deleteCollectionText": [Function],
|
||||
"deleteDatabaseText": [Function],
|
||||
"graphStylingPane": GraphStylingPane {
|
||||
@@ -1575,7 +1573,6 @@ exports[`SettingsComponent renders 1`] = `
|
||||
},
|
||||
"databaseAccount": [Function],
|
||||
"databases": [Function],
|
||||
"defaultExperience": [Function],
|
||||
"deleteCollectionText": [Function],
|
||||
"deleteDatabaseText": [Function],
|
||||
"graphStylingPane": GraphStylingPane {
|
||||
@@ -2135,7 +2132,6 @@ exports[`SettingsComponent renders 1`] = `
|
||||
},
|
||||
"databaseAccount": [Function],
|
||||
"databases": [Function],
|
||||
"defaultExperience": [Function],
|
||||
"deleteCollectionText": [Function],
|
||||
"deleteDatabaseText": [Function],
|
||||
"graphStylingPane": GraphStylingPane {
|
||||
|
||||
@@ -418,7 +418,6 @@ exports[`Settings Pane should render Default properly 1`] = `
|
||||
},
|
||||
"databaseAccount": [Function],
|
||||
"databases": [Function],
|
||||
"defaultExperience": [Function],
|
||||
"deleteCollectionText": [Function],
|
||||
"deleteDatabaseText": [Function],
|
||||
"graphStylingPane": GraphStylingPane {
|
||||
@@ -1101,7 +1100,6 @@ exports[`Settings Pane should render Gremlin properly 1`] = `
|
||||
},
|
||||
"databaseAccount": [Function],
|
||||
"databases": [Function],
|
||||
"defaultExperience": [Function],
|
||||
"deleteCollectionText": [Function],
|
||||
"deleteDatabaseText": [Function],
|
||||
"graphStylingPane": GraphStylingPane {
|
||||
|
||||
@@ -418,7 +418,6 @@ exports[`Upload Items Pane should render Default properly 1`] = `
|
||||
},
|
||||
"databaseAccount": [Function],
|
||||
"databases": [Function],
|
||||
"defaultExperience": [Function],
|
||||
"deleteCollectionText": [Function],
|
||||
"deleteDatabaseText": [Function],
|
||||
"graphStylingPane": GraphStylingPane {
|
||||
|
||||
@@ -419,7 +419,6 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
|
||||
},
|
||||
"databaseAccount": [Function],
|
||||
"databases": [Function],
|
||||
"defaultExperience": [Function],
|
||||
"deleteCollectionText": [Function],
|
||||
"deleteDatabaseText": [Function],
|
||||
"graphStylingPane": GraphStylingPane {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { DefaultAccountExperienceType } from "../DefaultAccountExperienceType";
|
||||
import * as Constants from "../Shared/Constants";
|
||||
import { userContext } from "../UserContext";
|
||||
import * as AutoPilotUtils from "../Utils/AutoPilotUtils";
|
||||
|
||||
interface ComputeRUUsagePriceHourlyArgs {
|
||||
@@ -262,7 +263,7 @@ export function getUpsellMessage(
|
||||
serverId = "default",
|
||||
isFreeTier = false,
|
||||
isFirstResourceCreated = false,
|
||||
defaultExperience: string,
|
||||
defaultExperience: typeof userContext.apiType,
|
||||
isCollection: boolean
|
||||
): string {
|
||||
if (isFreeTier) {
|
||||
|
||||
Reference in New Issue
Block a user