Commit 097c4429 authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

openDocument - фикс

parent 773a78ea
......@@ -1974,7 +1974,9 @@ class ARMFooter {
_doc.editable = _doc?.editable || false;
const {openDocsWindow = []} = Cons.getAppStore();
let {openDocsWindow} = Cons.getAppStore();
if(!openDocsWindow) openDocsWindow = [];
let doc = null;
if(_doc.type == 'document') {
doc = openDocsWindow.find(x => x.documentID === _doc.documentID);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment