Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Failing To Hide Menu Items #2419

Closed
2 tasks done
tannerTurba opened this issue Jun 4, 2024 · 2 comments · Fixed by #2420
Closed
2 tasks done

[Bug] Failing To Hide Menu Items #2419

tannerTurba opened this issue Jun 4, 2024 · 2 comments · Fixed by #2420
Labels
bug Something isn't working

Comments

@tannerTurba
Copy link

Before you submit this issue, have you checked the following

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions

v0.1.13

Reproduction link

https://stackblitz.com/~/github.com/awesome-univer/sheets-vite-demo

Expected behavior

I am interested in hiding a couple of the menu items, so I have followed the advice that is given on the Extending UI page of the documentation, which I have included a screenshot of below.

image

image
(A snippet of my code)

I expected the format painter, text color, and bold menu icons to be hidden.

Actual behavior

The rendered table still includes the icons that I have set to 'hidden' in the config data.

image

System information

I am using vite, react, and typescript in my project.

System:
OS: Windows 10 10.0.19045
CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1245U
Memory: 4.61 GB / 15.69 GB
Binaries:
Node: 21.7.3 - C:\Program Files\nodejs\node.EXE
npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (125.0.2535.79)
Internet Explorer: 11.0.19041.4355

@jikkai
Copy link
Member

jikkai commented Jun 5, 2024

Apologize for the inconvenience. I have already resolved this problem, and the fix will be released in version 0.1.14. 🙏

@tannerTurba
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants