|
@@ -121,7 +121,7 @@ const ItemsTree: FC<ItemsTreeProps> = (props: ItemsTreeProps) => {
|
|
|
const onDeletedHandler: OnDeletedFunction = (pathOrPathsToDelete, isRecursively, isCompletely) => {
|
|
const onDeletedHandler: OnDeletedFunction = (pathOrPathsToDelete, isRecursively, isCompletely) => {
|
|
|
if (typeof pathOrPathsToDelete === 'string') {
|
|
if (typeof pathOrPathsToDelete === 'string') {
|
|
|
const path = pathOrPathsToDelete;
|
|
const path = pathOrPathsToDelete;
|
|
|
- console.log(pathOrPathsToDelete, isRecursively, isCompletely);
|
|
|
|
|
|
|
+
|
|
|
if (isRecursively) {
|
|
if (isRecursively) {
|
|
|
if (isCompletely) {
|
|
if (isCompletely) {
|
|
|
toastSuccess(t('deleted_single_page_recursively_completely', { path }));
|
|
toastSuccess(t('deleted_single_page_recursively_completely', { path }));
|