Sfoglia il codice sorgente

fix conditional branches

kosei-n 2 anni fa
parent
commit
e54f963c6d
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      apps/app/src/components/PageHeader/PagePathHeader.tsx

+ 3 - 0
apps/app/src/components/PageHeader/PagePathHeader.tsx

@@ -101,6 +101,9 @@ export const PagePathHeader: FC<Props> = memo((props: Props) => {
     if (areaElemWidth && linkElemWidth) {
       setIsIconHidden(linkElemWidth > areaElemWidth);
     }
+    else {
+      setIsIconHidden(false);
+    }
   }, [currentPage]);
 
   const subNavElem = document.getElementById('grw-contextual-sub-nav');