Przeglądaj źródła

Fixed condition

Taichi Masuyama 4 lat temu
rodzic
commit
363ef6bf69
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/app/src/server/service/page-grant.ts

+ 1 - 1
packages/app/src/server/service/page-grant.ts

@@ -370,7 +370,7 @@ class PageGrantService {
         path, grant, grantedUsers: grantedUserIds, grantedGroup: grantedGroupId,
       } = page;
 
-      if (pageUtils.isPageNormalized(page)) {
+      if (!pageUtils.isPageNormalized(page)) {
         nonNormalizable.push(page);
         continue;
       }