Some admin related appearance tweaks. For working on #1904
This commit is contained in:
@@ -72,6 +72,7 @@ export const BanUserButton: FC<BanUserButtonProps> = ({ user, isEnabled, label,
|
||||
|
||||
return (
|
||||
<Button
|
||||
type="primary"
|
||||
onClick={confirmBlockAction}
|
||||
size="small"
|
||||
icon={isEnabled ? <StopTwoTone twoToneColor="#ff4d4f" /> : null}
|
||||
|
||||
@@ -217,7 +217,6 @@ export const MainLayout: FC<MainLayoutProps> = ({ children }) => {
|
||||
key: 'viewer-info',
|
||||
},
|
||||
!chatDisabled && {
|
||||
key: 'chat-config',
|
||||
label: <Link href="/admin/viewer-info">Chat & Users</Link>,
|
||||
icon: <MessageOutlined />,
|
||||
children: chatMenu,
|
||||
|
||||
@@ -75,6 +75,7 @@ export const ModeratorUserButton: FC<ModeratorUserButtonProps> = ({ user, onClic
|
||||
|
||||
return (
|
||||
<Button
|
||||
type="primary"
|
||||
onClick={confirmBlockAction}
|
||||
size="small"
|
||||
icon={
|
||||
|
||||
Reference in New Issue
Block a user