From 0a4aed4f47997719b772f1170477acba6684481c Mon Sep 17 00:00:00 2001 From: Vsevolod Kukol Date: Mon, 23 Jun 2025 17:18:19 +0200 Subject: [PATCH] feat: Enable Container Vector Policy for Fabric Native and adjust throughput/vecotr input visibility logic (#2170) --- .../Panes/AddCollectionPanel/AddCollectionPanel.tsx | 6 +++--- src/Utils/CapabilityUtils.ts | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx b/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx index 7db7546e4..e6f26b18b 100644 --- a/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx +++ b/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx @@ -123,7 +123,7 @@ export class AddCollectionPanel extends React.Component )} - {this.shouldShowCollectionThroughputInput() && ( + {this.shouldShowCollectionThroughputInput() && !isFabricNative() && ( { }; export const isVectorSearchEnabled = (): boolean => { - return userContext.apiType === "SQL" && isCapabilityEnabled(Constants.CapabilityNames.EnableNoSQLVectorSearch); + return ( + userContext.apiType === "SQL" && + (isCapabilityEnabled(Constants.CapabilityNames.EnableNoSQLVectorSearch) || isFabricNative()) + ); };