mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-19 12:59:12 +01:00
Fix the keys blade links to point to the common connection strings (#2417)
blade.
This commit is contained in:
@@ -37,7 +37,7 @@ const connectionStringValue: Description = {
|
||||
textTKey: "ConnectionStringText",
|
||||
type: DescriptionType.Text,
|
||||
link: {
|
||||
href: generateBladeLink(BladeType.SqlKeys),
|
||||
href: generateBladeLink(BladeType.ConnectionStrings),
|
||||
textTKey: "KeysBlade",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -41,27 +41,10 @@ export enum SelfServeType {
|
||||
*/
|
||||
export enum BladeType {
|
||||
/**
|
||||
* Keys blade of a Azure Cosmos DB for NoSQL account.
|
||||
* Connection Strings blade of a Azure Cosmos DB account.
|
||||
*/
|
||||
SqlKeys = "keys",
|
||||
/**
|
||||
* Keys blade of a Azure Cosmos DB for MongoDB account.
|
||||
*/
|
||||
MongoKeys = "mongoDbKeys",
|
||||
/**
|
||||
* Keys blade of a Azure Cosmos DB for Apache Cassandra account.
|
||||
*/
|
||||
CassandraKeys = "cassandraDbKeys",
|
||||
/**
|
||||
* Keys blade of a Azure Cosmos DB for Apache Gremlin account.
|
||||
*/
|
||||
// TODO This is a obviously a bug, but for now, let's ignore the eslint error
|
||||
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
|
||||
GremlinKeys = "keys",
|
||||
/**
|
||||
* Keys blade of a Azure Cosmos DB for Table account.
|
||||
*/
|
||||
TableKeys = "tableKeys",
|
||||
ConnectionStrings = "Connection%20strings",
|
||||
|
||||
/**
|
||||
* Metrics blade of an Azure Cosmos DB account.
|
||||
*/
|
||||
|
||||
@@ -44,7 +44,7 @@ const connectionStringValue: Description = {
|
||||
textTKey: "ConnectionStringText",
|
||||
type: DescriptionType.Text,
|
||||
link: {
|
||||
href: generateBladeLink(BladeType.SqlKeys),
|
||||
href: generateBladeLink(BladeType.ConnectionStrings),
|
||||
textTKey: "KeysBlade",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user