diff --git a/packages/nc-gui/components/smartsheet/sidebar/MenuTop.vue b/packages/nc-gui/components/smartsheet/sidebar/MenuTop.vue index a08eed3735..5fe7476271 100644 --- a/packages/nc-gui/components/smartsheet/sidebar/MenuTop.vue +++ b/packages/nc-gui/components/smartsheet/sidebar/MenuTop.vue @@ -216,6 +216,7 @@ function openDeleteDialog(view: ViewType) { const setIcon = async (icon: string, view: ViewType) => { try { + // modify the icon property in meta view.meta = { ...(view.meta || {}), icon, diff --git a/packages/nc-gui/components/smartsheet/sidebar/RenameableMenuItem.vue b/packages/nc-gui/components/smartsheet/sidebar/RenameableMenuItem.vue index 3d5646d57c..3d4cafa757 100644 --- a/packages/nc-gui/components/smartsheet/sidebar/RenameableMenuItem.vue +++ b/packages/nc-gui/components/smartsheet/sidebar/RenameableMenuItem.vue @@ -12,6 +12,8 @@ import { useVModel, } from '#imports' +import { Tooltip } from 'ant-design-vue' + interface Props { view: ViewType onValidate: (view: ViewType) => boolean | string @@ -173,10 +175,14 @@ function onStopEdit() { @dblclick.stop="onDblClick" @click.stop="onClick" > -
+
- + + + + -