Add locked variable for view mode

This commit is contained in:
Paulo Gustavo Veiga 2022-02-25 12:34:18 -08:00
parent 7a182418a7
commit e44bbe11e0

View File

@ -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 {