mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-25 23:16:56 +00:00
Label to indicate which field is a partition key in Column Selection Pane
This commit is contained in:
parent
777b695051
commit
26645f8360
@ -95,7 +95,7 @@ export const TableColumnSelectionPane: React.FC<TableColumnSelectionPaneProps> =
|
|||||||
<Checkbox
|
<Checkbox
|
||||||
className="tableColumnSelectionCheckbox"
|
className="tableColumnSelectionCheckbox"
|
||||||
key={columnDefinition.id}
|
key={columnDefinition.id}
|
||||||
label={columnDefinition.label}
|
label={`${columnDefinition.label}${columnDefinition.isPartitionKey ? " (partition key)" : ""}`}
|
||||||
checked={selectedColumnIdsSet.has(columnDefinition.id)}
|
checked={selectedColumnIdsSet.has(columnDefinition.id)}
|
||||||
onChange={(_, checked) => onCheckedValueChange(columnDefinition.id, checked)}
|
onChange={(_, checked) => onCheckedValueChange(columnDefinition.id, checked)}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user