Fixed type document without doc
This commit is contained in:
parent
375379be6e
commit
21f5d912bf
@ -1597,6 +1597,9 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
if (apiWebPage.document && apiWebPage.document._ === 'document') {
|
if (apiWebPage.document && apiWebPage.document._ === 'document') {
|
||||||
AppDocsManager.saveDoc(apiWebPage.document, mediaContext);
|
AppDocsManager.saveDoc(apiWebPage.document, mediaContext);
|
||||||
} else {
|
} else {
|
||||||
|
if (apiWebPage.type == 'document') {
|
||||||
|
delete apiWebPage.type;
|
||||||
|
}
|
||||||
delete apiWebPage.document;
|
delete apiWebPage.document;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user