|
@@ -7,6 +7,7 @@ import {
|
|
|
SupportedActionType, AllSupportedActionType, PageActions, CommentActions,
|
|
SupportedActionType, AllSupportedActionType, PageActions, CommentActions,
|
|
|
} from '~/interfaces/activity';
|
|
} from '~/interfaces/activity';
|
|
|
import { useSWRxActivityList } from '~/stores/activity';
|
|
import { useSWRxActivityList } from '~/stores/activity';
|
|
|
|
|
+import { useSWRxUsernames } from '~/stores/user';
|
|
|
|
|
|
|
|
import PaginationWrapper from '../PaginationWrapper';
|
|
import PaginationWrapper from '../PaginationWrapper';
|
|
|
|
|
|
|
@@ -50,6 +51,9 @@ export const AuditLogManagement: FC = () => {
|
|
|
const totalActivityNum = activityListData?.totalDocs != null ? activityListData.totalDocs : 0;
|
|
const totalActivityNum = activityListData?.totalDocs != null ? activityListData.totalDocs : 0;
|
|
|
const isLoading = activityListData === undefined && error == null;
|
|
const isLoading = activityListData === undefined && error == null;
|
|
|
|
|
|
|
|
|
|
+ const { data: usernameListData } = useSWRxUsernames('a', 10, true, true, true);
|
|
|
|
|
+ console.log(usernameListData);
|
|
|
|
|
+
|
|
|
/*
|
|
/*
|
|
|
* Functions
|
|
* Functions
|
|
|
*/
|
|
*/
|