soumaeda 2 лет назад
Родитель
Сommit
03372b97dc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/server/routes/apiv3/page.js

+ 1 - 1
apps/app/src/server/routes/apiv3/page.js

@@ -627,7 +627,7 @@ module.exports = (crowi) => {
 
 
     // replace root page name to '_top'
-    if (!fileName) {
+    if (fileName === '') {
       fileName = '_top';
     }