mirror of
https://github.com/etkecc/synapse-admin.git
synced 2025-04-30 16:21:52 +03:00
Add ServerNoticeButton to UserEditToolbar
For this, the feature "Server Notices" must be activated on the server. Change-Id: If3873dc5548822a06a7be0c55e48835c9fb8f78f
This commit is contained in:
parent
7f16f784f9
commit
c41b8ab846
6 changed files with 149 additions and 0 deletions
src/components
|
@ -30,6 +30,7 @@ import {
|
|||
useTranslate,
|
||||
Pagination,
|
||||
} from "react-admin";
|
||||
import { ServerNoticeButton } from "./ServerNotices";
|
||||
|
||||
const UserPagination = props => (
|
||||
<Pagination {...props} rowsPerPageOptions={[10, 25, 50, 100, 500, 1000]} />
|
||||
|
@ -108,6 +109,7 @@ const UserEditToolbar = props => {
|
|||
label="resources.users.action.erase"
|
||||
title={translate("resources.users.helper.erase")}
|
||||
/>
|
||||
<ServerNoticeButton />
|
||||
</Toolbar>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue