Explorar o código

SelectQueryDropdown -> SelectQueryItemsDropdown

Shun Miyazawa %!s(int64=4) %!d(string=hai) anos
pai
achega
6d821007b2

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

@@ -9,7 +9,7 @@ type Props = {
   onSelectItem: (item: string | undefined) => void
 }
 
-export const SelectQueryDropdown: FC<Props> = (props: Props) => {
+export const SelectQueryItemsDropdown: FC<Props> = (props: Props) => {
   const { t } = useTranslation();
 
   const { dropdownLabel, dropdownItemList, onSelectItem } = props;

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

@@ -8,7 +8,7 @@ import { useSWRxActivityList } from '~/stores/activity';
 import PaginationWrapper from '../PaginationWrapper';
 
 import { ActivityTable } from './AuditLog/ActivityTable';
-import { SelectQueryDropdown } from './AuditLog/SelectQueryDropdown';
+import { SelectQueryItemsDropdown } from './AuditLog/SelectQueryItemsDropdown';
 
 
 const PAGING_LIMIT = 10;
@@ -50,7 +50,7 @@ export const AuditLogManagement: FC = () => {
     <div data-testid="admin-auditlog">
       <h2>{t('AuditLog')}</h2>
 
-      <SelectQueryDropdown
+      <SelectQueryItemsDropdown
         dropdownLabel="select_action"
         dropdownItemList={AllSupportedActionType}
         onSelectItem={selectActionNameHandler}