Fix settings tab issue for cassandra and add feature flag (#159)

* Fix settings tab issue for cassandra and add feature flag

* Adding the rest of the changes....

Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
This commit is contained in:
victor-meng
2020-08-19 16:11:43 -07:00
committed by GitHub
parent 5e6ac78b7d
commit 1c80ced259
7 changed files with 16 additions and 3 deletions

View File

@@ -17,8 +17,10 @@ export async function readDatabases(): Promise<DataModels.Database[]> {
try {
if (
window.authType === AuthType.AAD &&
!userContext.useSDKOperations &&
userContext.defaultExperience !== DefaultAccountExperienceType.MongoDB &&
userContext.defaultExperience !== DefaultAccountExperienceType.Table
userContext.defaultExperience !== DefaultAccountExperienceType.Table &&
userContext.defaultExperience !== DefaultAccountExperienceType.Cassandra
) {
databases = await readDatabasesWithARM();
} else {