diff --git a/src/Explorer/ContextMenuButtonFactory.tsx b/src/Explorer/ContextMenuButtonFactory.tsx index dc5705256..b0b08aa2a 100644 --- a/src/Explorer/ContextMenuButtonFactory.tsx +++ b/src/Explorer/ContextMenuButtonFactory.tsx @@ -41,6 +41,10 @@ export interface DatabaseContextMenuButtonParams { * New resource tree (in ReactJS) */ export const createDatabaseContextMenu = (container: Explorer, databaseId: string): TreeNodeMenuItem[] => { + if (configContext.platform === Platform.Fabric && userContext.fabricContext?.isReadOnly) { + return undefined; + } + const items: TreeNodeMenuItem[] = [ { iconSrc: AddCollectionIcon,