mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-22 03:33:48 +01:00
Hide app title on mobile.
This commit is contained in:
parent
6ef810b77c
commit
e45b4c870a
@ -30,6 +30,7 @@ type ActionType =
|
||||
| 'edition-toolbar'
|
||||
| 'sign-up'
|
||||
| 'starred'
|
||||
| 'appbar-title'
|
||||
| 'keyboard-shortcuts';
|
||||
|
||||
export default ActionType;
|
||||
|
@ -176,6 +176,11 @@ const ActionConfigByRenderMode: Record<ActionType, CapabilitySupport> = {
|
||||
hidden: ['viewonly', 'showcase', 'edition-viewer', 'edition-editor', 'edition-owner'],
|
||||
},
|
||||
},
|
||||
'appbar-title': {
|
||||
mobile: {
|
||||
hidden: ['viewonly', 'showcase', 'edition-viewer', 'edition-editor', 'edition-owner'],
|
||||
},
|
||||
},
|
||||
'sign-up': {
|
||||
desktop: {
|
||||
hidden: ['viewonly', 'edition-viewer', 'edition-editor', 'edition-owner'],
|
||||
|
@ -88,6 +88,7 @@ const AppBar = ({ model, mapInfo, capability, onAction, accountConfig }: AppBarP
|
||||
},
|
||||
{
|
||||
render: () => <img src={LogoTextBlackSvg} />,
|
||||
visible: !capability.isHidden('appbar-title'),
|
||||
},
|
||||
{
|
||||
render: () => (
|
||||
|
Loading…
Reference in New Issue
Block a user