yohei0125 3 лет назад
Родитель
Сommit
3472d65272
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/components/Sidebar/PageTree/Item.tsx

+ 1 - 1
packages/app/src/components/Sidebar/PageTree/Item.tsx

@@ -411,7 +411,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
 
 
   // Rename process
   // Rename process
   // Icon that draw attention from users for some actions
   // Icon that draw attention from users for some actions
-  const shouldShowAttentionIcon = page.processData?.Rename != null ? page.processData.Rename.isProcessable : false;
+  const shouldShowAttentionIcon = !!page.processData?.Rename?.isProcessable;
 
 
   return (
   return (
     <div
     <div