FCF - Full Stack Javascript Framework
OpenSource is a full stack development framework designed to simplify the development of WEB projects of various complexity levels.
It is based on unique technologies that open up new opportunities in development approaches with NODEJS.
Revision | b5b3f29779a6f0f11c740fb680aced6d4bf42371 (tree) |
---|---|
Zeit | 2021-01-15 03:09:49 |
Autor | Vladimir Markin <v.o.markin221@gmai...> |
Commiter | Vladimir Markin |
save
@@ -98,9 +98,8 @@ | ||
98 | 98 | let originPath = a_path; |
99 | 99 | a_path = fcf.getPath(a_path); |
100 | 100 | |
101 | - if (innerTemplateStorage[a_path]){ | |
101 | + if (innerTemplateStorage[a_path]) | |
102 | 102 | return innerTemplateStorage[a_path]; |
103 | - } | |
104 | 103 | |
105 | 104 | let data = await fcf.load({path: a_path, aliases: a_state.theme.getAliases()}) |
106 | 105 |
@@ -651,7 +651,7 @@ | ||
651 | 651 | if (!context.session.id) |
652 | 652 | return a_info; |
653 | 653 | |
654 | - if (!a_info.nodeInfo.userImportance) | |
654 | + if (a_info.nodeInfo && !a_info.nodeInfo.userImportance) | |
655 | 655 | return a_info; |
656 | 656 | |
657 | 657 | return fcf.application.getStorage().query({ |
@@ -708,7 +708,7 @@ | ||
708 | 708 | }) |
709 | 709 | }) |
710 | 710 | .then((a_info)=>{ |
711 | - if (!a_info.nodeInfo.userImportance) | |
711 | + if (a_info.nodeInfo && !a_info.nodeInfo.userImportance) | |
712 | 712 | return a_info; |
713 | 713 | return self._router.getNode(routeInfo.uri) |
714 | 714 | .then((a_nodeInfo)=>{ |