visuddhinanda 3 years ago
parent
commit
2d551d3a5c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dashboard/src/components/corpus/BookTree.tsx

+ 1 - 0
dashboard/src/components/corpus/BookTree.tsx

@@ -92,6 +92,7 @@ const Widget = ({
             if (typeof onRootChange !== "undefined") {
             if (typeof onRootChange !== "undefined") {
               onRootChange(value);
               onRootChange(value);
             }
             }
+            setCurrTocStyle(value);
             fetchBookTree(value);
             fetchBookTree(value);
           }}
           }}
         />
         />