Преглед на файлове

remove slashed_are_not_yet_supported error

kaori преди 4 години
родител
ревизия
90108639c1
променени са 1 файла, в които са добавени 0 реда и са изтрити 7 реда
  1. 0 7
      packages/app/src/components/Sidebar/PageTree/Item.tsx

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

@@ -368,13 +368,6 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
       };
     }
 
-    if (title.includes('/')) {
-      return {
-        type: AlertType.WARNING,
-        message: t('form_validation.slashed_are_not_yet_supported'),
-      };
-    }
-
     return null;
   };