diff --git a/server/api/lib/mavat/index.js b/server/api/lib/mavat/index.js index 21f8e893..4da5a6e7 100644 --- a/server/api/lib/mavat/index.js +++ b/server/api/lib/mavat/index.js @@ -116,7 +116,7 @@ const getPlanFilesNewMavat = (data) => { description: file.RUB_DESC, date: file.EDITING_DATE, id: file.ID, - fileIcon: file.FILE_DATA.ficon, + fileIcon: file.FILE_DATA ? file.FILE_DATA.ficon: null, num: file.PLAN_ENTITY_DOC_NUM }; });