Przeglądaj źródła

show error message

yohei0125 3 lat temu
rodzic
commit
14f30fd227

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

@@ -385,7 +385,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
       toastSuccess(t('page_operation.paths_recovered'));
       toastSuccess(t('page_operation.paths_recovered'));
     }
     }
     catch (err) {
     catch (err) {
-      toastError(t('page_operation.failed_resume_rename'));
+      toastError(t(err[0].message));
     }
     }
     finally {
     finally {
       setTimeout(() => {
       setTimeout(() => {