upload attachments and images features will be disabled
But the relative menu is still popover when these features is in compactDialogItems which I find the relative configuration is in packages/react/src/toolbar-plugin/items/dialogItems.tsx.
like this:
It seems that the MenuItemData 's show function is only called in ToolbarItem Component, but not considered when the in Menu Component (packages/react/src/shared-overlays/components/Menu/Menu.tsx).
after this pr, when auth token is not given, the popover menu will looks like this:
The document said:
But the relative menu is still popover when these features is in
compactDialogItems
which I find the relative configuration is inpackages/react/src/toolbar-plugin/items/dialogItems.tsx
.like this:
It seems that the MenuItemData 's
show
function is only called inToolbarItem
Component, but not considered when the inMenu
Component (packages/react/src/shared-overlays/components/Menu/Menu.tsx).after this pr, when auth token is not given, the popover menu will looks like this: