Hide Azure Synapse Link button for Serverless accounts (#121)

This commit is contained in:
Tanuj Mittal
2020-07-31 15:31:21 -07:00
committed by GitHub
parent 2a53dfabb5
commit 8c792fd147
3 changed files with 53 additions and 1 deletions

View File

@@ -246,6 +246,11 @@ export class CommandBarComponentButtonFactory {
if (config.platform === Platform.Emulator) {
return null;
}
if (container.isServerlessEnabled()) {
return null;
}
if (
container.databaseAccount &&
container.databaseAccount() &&