Przeglądaj źródła

SelectQueryItemsDropdow -> SelectActionDropdown

Shun Miyazawa 3 lat temu
rodzic
commit
a1974403cc

+ 1 - 1
packages/app/src/components/Admin/AuditLog/SelectQueryItemsDropdown.tsx → packages/app/src/components/Admin/AuditLog/SelectActionDropdown.tsx

@@ -74,7 +74,7 @@ type Props = {
   }>
 }
 
-export const SelectQueryItemsDropdown: FC<Props> = (props: Props) => {
+export const SelectActionDropdown: FC<Props> = (props: Props) => {
   const { t } = useTranslation();
 
   const { dropdownItems } = props;

+ 2 - 2
packages/app/src/components/Admin/AuditLogManagement.tsx

@@ -10,7 +10,7 @@ import { useSWRxActivityList } from '~/stores/activity';
 import PaginationWrapper from '../PaginationWrapper';
 
 import { ActivityTable } from './AuditLog/ActivityTable';
-import { SelectQueryItemsDropdown } from './AuditLog/SelectQueryItemsDropdown';
+import { SelectActionDropdown } from './AuditLog/SelectActionDropdown';
 
 
 const PAGING_LIMIT = 10;
@@ -54,7 +54,7 @@ export const AuditLogManagement: FC = () => {
     <div data-testid="admin-auditlog">
       <h2>{t('AuditLog')}</h2>
 
-      <SelectQueryItemsDropdown
+      <SelectActionDropdown
         dropdownItems={[
           {
             targetModelName: SUPPORTED_TARGET_MODEL_TYPE.MODEL_PAGE,