diff --git a/packages/sheets-ui/src/views/sheet-bar/sheet-bar-menu/SheetBarMenu.tsx b/packages/sheets-ui/src/views/sheet-bar/sheet-bar-menu/SheetBarMenu.tsx
index d3f3817458..a6b2db0940 100644
--- a/packages/sheets-ui/src/views/sheet-bar/sheet-bar-menu/SheetBarMenu.tsx
+++ b/packages/sheets-ui/src/views/sheet-bar/sheet-bar-menu/SheetBarMenu.tsx
@@ -130,7 +130,7 @@ export function SheetBarMenu() {
const items: IDropdownMenuProps['items'] = useMemo(() => menu.map((item) => ({
type: 'item',
children: (
-
+
{(item.selected || item.hidden) && (
{item.selected && }
@@ -154,6 +154,7 @@ export function SheetBarMenu() {
return (
{label}
diff --git a/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.tsx b/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.tsx
index 4a6c18a364..15def156a0 100644
--- a/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.tsx
+++ b/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.tsx
@@ -82,11 +82,11 @@ export function SheetBarTabs() {
const name = hasProtect
? (
<>
-
- {sheet.getName()}
+
+ {sheet.getName()}
>
)
- : {sheet.getName()};
+ : {sheet.getName()};
return {
sheetId: sheet.getSheetId(),