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