mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-21 22:27: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) {
|
||||
// Sent to try mode ...
|
||||
options.mode = 'showcase';
|
||||
} else if (!global.lockSession) {
|
||||
} else if (global.mindmapLocked) {
|
||||
// Map locked, open for view mode ...
|
||||
options.mode = 'viewonly';
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user