diff --git a/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx b/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx index ca6411f71..a6ae0f2f2 100644 --- a/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx +++ b/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx @@ -67,7 +67,7 @@ export function createStaticCommandBarButtons( } } - if (userContext.apiType !== "Tables") { + if (userContext.apiType !== "Tables" && configContext.platform !== Platform.Fabric) { newCollectionBtn.children = [createNewCollectionGroup(container)]; const newDatabaseBtn = createNewDatabase(container); newCollectionBtn.children.push(newDatabaseBtn); diff --git a/src/Explorer/Panes/AddCollectionPanel.tsx b/src/Explorer/Panes/AddCollectionPanel.tsx index 33ce4bda3..2427c46d2 100644 --- a/src/Explorer/Panes/AddCollectionPanel.tsx +++ b/src/Explorer/Panes/AddCollectionPanel.tsx @@ -114,7 +114,8 @@ export class AddCollectionPanel extends React.Component - -
- - Create new + {configContext.platform !== Platform.Fabric && ( + +
+ + Create new - - Use existing -
-
+ + Use existing +
+
+ )} {this.state.createNewDatabase && (