mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
Add locked variable for view mode
This commit is contained in:
parent
7a182418a7
commit
e44bbe11e0
@ -12,7 +12,7 @@ export default class EditorOptionsBulder {
|
|||||||
if (isTryMode) {
|
if (isTryMode) {
|
||||||
// Sent to try mode ...
|
// Sent to try mode ...
|
||||||
options.mode = 'showcase';
|
options.mode = 'showcase';
|
||||||
} else if (!global.lockSession) {
|
} else if (global.mindmapLocked) {
|
||||||
// Map locked, open for view mode ...
|
// Map locked, open for view mode ...
|
||||||
options.mode = 'viewonly';
|
options.mode = 'viewonly';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user