mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Remove buttons on mobile.
This commit is contained in:
parent
57bbd8ad6e
commit
f69c45a229
@ -122,7 +122,11 @@ const ActionConfigByRenderMode: Record<ActionType, CapabilitySupport> = {
|
||||
hidden: ['showcase', 'viewonly', 'edition-viewer'],
|
||||
},
|
||||
},
|
||||
print: undefined,
|
||||
print: {
|
||||
mobile: {
|
||||
hidden: ['viewonly', 'showcase', 'edition-viewer', 'edition-editor', 'edition-owner'],
|
||||
},
|
||||
},
|
||||
publish: {
|
||||
desktop: {
|
||||
hidden: ['showcase', 'viewonly', 'edition-viewer', 'edition-editor'],
|
||||
@ -137,6 +141,9 @@ const ActionConfigByRenderMode: Record<ActionType, CapabilitySupport> = {
|
||||
desktop: {
|
||||
hidden: ['showcase'],
|
||||
},
|
||||
mobile: {
|
||||
hidden: ['viewonly', 'showcase', 'edition-viewer', 'edition-editor', 'edition-owner'],
|
||||
},
|
||||
},
|
||||
account: {
|
||||
desktop: {
|
||||
@ -161,7 +168,11 @@ const ActionConfigByRenderMode: Record<ActionType, CapabilitySupport> = {
|
||||
hidden: ['viewonly', 'edition-viewer', 'showcase'],
|
||||
},
|
||||
},
|
||||
export: undefined,
|
||||
export: {
|
||||
mobile: {
|
||||
hidden: ['viewonly', 'showcase', 'edition-viewer', 'edition-editor', 'edition-owner'],
|
||||
},
|
||||
},
|
||||
'sign-up': {
|
||||
desktop: {
|
||||
hidden: ['viewonly', 'edition-viewer', 'edition-editor', 'edition-owner'],
|
||||
|
Loading…
Reference in New Issue
Block a user