fix: viewmode issue

This commit is contained in:
nikita_bartoshuk
2025-06-11 15:58:52 +03:00
parent e21b49eeb1
commit 5682dffda8

View File

@ -171,7 +171,9 @@ define([
},
onDocumentReady: function() {
Common.Utils.lockControls(Common.enumLock.disableOnStart, false, {array: this.view.lockedControls});
this.view && this.view.lockedControls
? Common.Utils.lockControls(Common.enumLock.disableOnStart, false, {array: this.view.lockedControls})
: null;
},
onInsertSlideMaster: function () {