Revert "Hide buttons for Fabric or when no write access (#1742)" (#1751)

This reverts commit f403b086ad.
This commit is contained in:
Laurent Nguyen
2024-02-21 16:22:17 +00:00
committed by GitHub
parent 9cebe5f9ba
commit 12366bb645
4 changed files with 2 additions and 9 deletions

View File

@@ -135,7 +135,7 @@ export function createStaticCommandBarButtons(
buttons.push(newSqlQueryBtn);
}
if (isQuerySupported && selectedNodeState.findSelectedCollection() && configContext.platform !== Platform.Fabric) {
if (isQuerySupported && selectedNodeState.findSelectedCollection()) {
const openQueryBtn = createOpenQueryButton(container);
openQueryBtn.children = [createOpenQueryButton(container), createOpenQueryFromDiskButton()];
buttons.push(openQueryBtn);