mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47: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'],
|
hidden: ['showcase', 'viewonly', 'edition-viewer'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
print: undefined,
|
print: {
|
||||||
|
mobile: {
|
||||||
|
hidden: ['viewonly', 'showcase', 'edition-viewer', 'edition-editor', 'edition-owner'],
|
||||||
|
},
|
||||||
|
},
|
||||||
publish: {
|
publish: {
|
||||||
desktop: {
|
desktop: {
|
||||||
hidden: ['showcase', 'viewonly', 'edition-viewer', 'edition-editor'],
|
hidden: ['showcase', 'viewonly', 'edition-viewer', 'edition-editor'],
|
||||||
@ -137,6 +141,9 @@ const ActionConfigByRenderMode: Record<ActionType, CapabilitySupport> = {
|
|||||||
desktop: {
|
desktop: {
|
||||||
hidden: ['showcase'],
|
hidden: ['showcase'],
|
||||||
},
|
},
|
||||||
|
mobile: {
|
||||||
|
hidden: ['viewonly', 'showcase', 'edition-viewer', 'edition-editor', 'edition-owner'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
account: {
|
account: {
|
||||||
desktop: {
|
desktop: {
|
||||||
@ -161,7 +168,11 @@ const ActionConfigByRenderMode: Record<ActionType, CapabilitySupport> = {
|
|||||||
hidden: ['viewonly', 'edition-viewer', 'showcase'],
|
hidden: ['viewonly', 'edition-viewer', 'showcase'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
export: undefined,
|
export: {
|
||||||
|
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'],
|
||||||
|
Loading…
Reference in New Issue
Block a user