Temporarily disable bulk Delete for old non-partitioned NoSQL containers (#1880)

* Disable Delete button and document selection when partitionKey.systemKey = true for noSql.

* Update unit tests

* Always show delete button. Use single delete API for systemKey containers
This commit is contained in:
Laurent Nguyen
2024-06-21 09:37:34 +02:00
committed by GitHub
parent 380caba5f5
commit fe892dcc62
2 changed files with 16 additions and 5 deletions

View File

@@ -340,7 +340,7 @@ describe("Documents tab (noSql API)", () => {
isPreferredApiMongoDB: false,
documentIds: [],
collection: undefined,
partitionKey: undefined,
partitionKey: { kind: "Hash", paths: ["/foo"], version: 2 },
onLoadStartKey: 0,
tabTitle: "",
onExecutionErrorChange: (isExecutionError: boolean): void => {