Explorar o código

Merge pull request #5651 from weseek/fix/90872-page-items-disappear-when-dnd

fix: Page items disappear when dnd
Yuki Takei %!s(int64=4) %!d(string=hai) anos
pai
achega
8e9f91d8f1
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      packages/app/src/components/Sidebar/PageTree/Item.tsx

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

@@ -195,6 +195,10 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
 
       await mutateChildren();
 
+      if (onRenamed != null) {
+        onRenamed();
+      }
+
       // force open
       setIsOpen(true);
     }