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:
Vsevolod Kukol
2024-03-20 00:28:24 +01:00
committed by GitHub
parent 39b0fb9e2c
commit a524138ac9

View File

@@ -58,10 +58,10 @@ export function createStaticCommandBarButtons(
}
};
const homeBtn = createHomeButton();
buttons.push(homeBtn);
if (configContext.platform !== Platform.Fabric) {
const homeBtn = createHomeButton();
buttons.push(homeBtn);
const newCollectionBtn = createNewCollectionGroup(container);
buttons.push(newCollectionBtn);
if (userContext.apiType !== "Tables" && userContext.apiType !== "Cassandra") {