Merge branch 'master' of https://github.com/Azure/cosmos-explorer into users/aisayas/upgrade-cosmos-sdk-4.3

This commit is contained in:
Asier Isayas
2025-05-09 14:04:06 -04:00
73 changed files with 40743 additions and 37666 deletions

View File

@@ -136,7 +136,7 @@ export const extractPartitionKeyValues = (
documentContent: any,
partitionKeyDefinition: PartitionKeyDefinition,
): PartitionKey[] => {
if (!partitionKeyDefinition.paths || partitionKeyDefinition.paths.length === 0 || partitionKeyDefinition.systemKey) {
if (!partitionKeyDefinition.paths || partitionKeyDefinition.paths.length === 0) {
return undefined;
}
@@ -148,7 +148,7 @@ export const extractPartitionKeyValues = (
if (value !== undefined) {
partitionKeyValues.push(value);
} else {
} else if (!partitionKeyDefinition.systemKey) {
partitionKeyValues.push({});
}
});