Просмотр исходного кода

update todo toastr commentouted

ryoji-s 3 лет назад
Родитель
Сommit
d49ff1091f

+ 1 - 1
packages/app/src/components/Admin/ExportArchiveData/ArchiveFilesTableMenu.tsx

@@ -2,7 +2,7 @@ import React from 'react';
 
 
 import { useTranslation } from 'next-i18next';
 import { useTranslation } from 'next-i18next';
 
 
-// import { toastSuccess, toastError } from '~/client/util/apiNotification';
+// import { toastSuccess, toastError } from '~/client/util/toastr';
 
 
 type ArchiveFilesTableMenuProps = {
 type ArchiveFilesTableMenuProps = {
   fileName: string,
   fileName: string,

+ 1 - 1
packages/app/src/components/Admin/ExportArchiveData/SelectCollectionsModal.tsx

@@ -8,7 +8,7 @@ import * as toastr from 'toastr';
 
 
 import { apiPost } from '~/client/util/apiv1-client';
 import { apiPost } from '~/client/util/apiv1-client';
 
 
-// import { toastSuccess, toastError } from '~/client/util/apiNotification';
+// import { toastSuccess, toastError } from '~/client/util/toastr';
 
 
 
 
 const GROUPS_PAGE = [
 const GROUPS_PAGE = [

+ 1 - 1
packages/app/src/components/Admin/ImportData/GrowiArchive/ImportCollectionConfigurationModal.jsx

@@ -13,7 +13,7 @@ import {
 
 
 import GrowiArchiveImportOption from '~/models/admin/growi-archive-import-option';
 import GrowiArchiveImportOption from '~/models/admin/growi-archive-import-option';
 
 
-// import { toastSuccess, toastError } from '~/client/util/apiNotification';
+// import { toastSuccess, toastError } from '~/client/util/toastr';
 
 
 
 
 class ImportCollectionConfigurationModal extends React.Component {
 class ImportCollectionConfigurationModal extends React.Component {

+ 1 - 1
packages/app/src/components/Admin/ImportData/GrowiArchiveSection.jsx

@@ -6,7 +6,7 @@ import * as toastr from 'toastr';
 
 
 import { apiv3Delete, apiv3Get } from '~/client/util/apiv3-client';
 import { apiv3Delete, apiv3Get } from '~/client/util/apiv3-client';
 
 
-// import { toastSuccess, toastError } from '~/client/util/apiNotification';
+// import { toastSuccess, toastError } from '~/client/util/toastr';
 
 
 import ImportForm from './GrowiArchive/ImportForm';
 import ImportForm from './GrowiArchive/ImportForm';
 import UploadForm from './GrowiArchive/UploadForm';
 import UploadForm from './GrowiArchive/UploadForm';