Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions webapp/packages/core-ui/src/ContextMenu/MenuBar/MenuBar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2025 DBeaver Corp and others
* Copyright (C) 2020-2026 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
Expand All @@ -22,7 +22,7 @@ import { useMemo } from 'react';

export const MenuBar = observer<IMenuBarProps>(function MenuBar({ menu, compact = true, rtl, className, ref, ...props }) {
const styles = useS(style);
const items = menu.items;
const items = menu.items.filter(item => !item.hidden);
useAutoLoad(MenuBar, menu.loaders, true, false, true);
const menubarStore = useMenubarStore({ rtl });
const menuContext = useMemo<IMenuContext>(() => ({ menu, rtl }), [menu, rtl]);
Expand Down
Loading