mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
Resolve remaining review notes
This commit is contained in:
@@ -119,9 +119,8 @@ export function SpecialInputModal(props: SpecialProps) {
|
||||
question={<Text id="app.settings.permissions.create_role" />}
|
||||
field={<Text id="app.settings.permissions.role_name" />}
|
||||
callback={async name => {
|
||||
// bree: this returns void, dunno why props.callback was being called
|
||||
const role = await client.servers.createRole(props.server, name);
|
||||
// props.callback(role.id);
|
||||
props.callback(role.id);
|
||||
}}
|
||||
/>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user