|
@@ -1,9 +1,11 @@
|
|
|
-import React, { FC, useMemo, useCallback } from 'react';
|
|
|
|
|
|
|
+import type { FC } from 'react';
|
|
|
|
|
+import React, { useMemo, useCallback } from 'react';
|
|
|
|
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
|
|
|
|
|
|
+import type { SupportedActionType, SupportedActionCategoryType } from '~/interfaces/activity';
|
|
|
import {
|
|
import {
|
|
|
- SupportedActionType, SupportedActionCategoryType, SupportedActionCategory,
|
|
|
|
|
|
|
+ SupportedActionCategory,
|
|
|
PageActions, CommentActions, TagActions, ShareLinkActions, AttachmentActions, InAppNotificationActions, SearchActions, UserActions, AdminActions,
|
|
PageActions, CommentActions, TagActions, ShareLinkActions, AttachmentActions, InAppNotificationActions, SearchActions, UserActions, AdminActions,
|
|
|
} from '~/interfaces/activity';
|
|
} from '~/interfaces/activity';
|
|
|
|
|
|
|
@@ -78,7 +80,7 @@ export const SelectActionDropdown: FC<Props> = (props: Props) => {
|
|
|
return (
|
|
return (
|
|
|
<div className="btn-group me-2 admin-audit-log">
|
|
<div className="btn-group me-2 admin-audit-log">
|
|
|
<button className="btn btn-outline-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown">
|
|
<button className="btn btn-outline-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown">
|
|
|
- <i className="fa fa-fw fa-bolt" />{t('admin:audit_log_management.action')}
|
|
|
|
|
|
|
+ <span className="material-symbols-outlined">bolt</span>{t('admin:audit_log_management.action')}
|
|
|
</button>
|
|
</button>
|
|
|
<ul className="dropdown-menu select-action-dropdown" aria-labelledby="dropdownMenuButton">
|
|
<ul className="dropdown-menu select-action-dropdown" aria-labelledby="dropdownMenuButton">
|
|
|
{dropdownItems.map(item => (
|
|
{dropdownItems.map(item => (
|