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>
|
||||
);
|
||||
})}
|
||||
{userContext.apiType === "SQL" && userContext.features.enableHierarchicalKeys && (
|
||||
{userContext.apiType === "SQL" && (
|
||||
<Stack className="panelGroupSpacing">
|
||||
<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}
|
||||
disabled={this.state.subPartitionKeys.length >= Constants.BackendDefaults.maxNumMultiHashPartition}
|
||||
onClick={() => this.setState({ subPartitionKeys: [...this.state.subPartitionKeys, ""] })}
|
||||
>
|
||||
Add hierarchical partition key
|
||||
Add hierarchical partition key (preview)
|
||||
</DefaultButton>
|
||||
{this.state.subPartitionKeys.length > 0 && (
|
||||
<Text variant="small">
|
||||
|
|
Loading…
Reference in New Issue