mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-28 16:36:46 +00:00
Don't show the new Home button in Fabric (#1774)
as the whole Home tab feature is not supported there.
This commit is contained in:
parent
39b0fb9e2c
commit
a524138ac9
@ -58,10 +58,10 @@ export function createStaticCommandBarButtons(
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const homeBtn = createHomeButton();
|
|
||||||
buttons.push(homeBtn);
|
|
||||||
|
|
||||||
if (configContext.platform !== Platform.Fabric) {
|
if (configContext.platform !== Platform.Fabric) {
|
||||||
|
const homeBtn = createHomeButton();
|
||||||
|
buttons.push(homeBtn);
|
||||||
|
|
||||||
const newCollectionBtn = createNewCollectionGroup(container);
|
const newCollectionBtn = createNewCollectionGroup(container);
|
||||||
buttons.push(newCollectionBtn);
|
buttons.push(newCollectionBtn);
|
||||||
if (userContext.apiType !== "Tables" && userContext.apiType !== "Cassandra") {
|
if (userContext.apiType !== "Tables" && userContext.apiType !== "Cassandra") {
|
||||||
|
Loading…
Reference in New Issue
Block a user