[Query Copilot] Not disabling create database/container buttons for Sample Database (#1531)

Co-authored-by: Predrag Klepic <[email protected]>
This commit is contained in:
Predrag Klepic
2023-07-12 16:38:42 -07:00
committed by GitHub
co-authored by Predrag Klepic
parent bb6ee5deec
commit e9f3c64239
@@ -268,7 +268,6 @@ function createNewCollectionGroup(container: Explorer): CommandButtonComponentPr
ariaLabel: label,
hasPopup: true,
id: "createNewContainerCommandButton",
disabled: useSelectedNode.getState().isQueryCopilotCollectionSelected(),
};
}
@@ -314,7 +313,6 @@ function createNewDatabase(container: Explorer): CommandButtonComponentProps {
commandButtonLabel: label,
ariaLabel: label,
hasPopup: true,
disabled: useSelectedNode.getState().isQueryCopilotCollectionSelected(),
};
}