2
0
yohei0125 3 жил өмнө
parent
commit
3472d65272

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

@@ -411,7 +411,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
 
   // Rename process
   // 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 (
     <div