mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-25 23:16:56 +00:00
remove feature flag and add preview text in the button (#1383)
This commit is contained in:
parent
7dbccff41d
commit
a827e79317
@ -597,15 +597,15 @@ export class AddCollectionPanel extends React.Component<AddCollectionPanelProps,
|
|||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
{userContext.apiType === "SQL" && userContext.features.enableHierarchicalKeys && (
|
{userContext.apiType === "SQL" && (
|
||||||
<Stack className="panelGroupSpacing">
|
<Stack className="panelGroupSpacing">
|
||||||
<DefaultButton
|
<DefaultButton
|
||||||
styles={{ root: { padding: 0, width: 200, height: 30 }, label: { fontSize: 12 } }}
|
styles={{ root: { padding: 0, width: 250, height: 30 }, label: { fontSize: 12 } }}
|
||||||
hidden={this.state.useHashV1}
|
hidden={this.state.useHashV1}
|
||||||
disabled={this.state.subPartitionKeys.length >= Constants.BackendDefaults.maxNumMultiHashPartition}
|
disabled={this.state.subPartitionKeys.length >= Constants.BackendDefaults.maxNumMultiHashPartition}
|
||||||
onClick={() => this.setState({ subPartitionKeys: [...this.state.subPartitionKeys, ""] })}
|
onClick={() => this.setState({ subPartitionKeys: [...this.state.subPartitionKeys, ""] })}
|
||||||
>
|
>
|
||||||
Add hierarchical partition key
|
Add hierarchical partition key (preview)
|
||||||
</DefaultButton>
|
</DefaultButton>
|
||||||
{this.state.subPartitionKeys.length > 0 && (
|
{this.state.subPartitionKeys.length > 0 && (
|
||||||
<Text variant="small">
|
<Text variant="small">
|
||||||
|
Loading…
Reference in New Issue
Block a user