commit f649c701e1ef12f384147834fc74acb9a2c5bae8
parent 27735249e9db08bc792b321649b5f5e44c0bcab3
Author: MTRNord <mtrnord1@gmail.com>
Date: Fri, 20 May 2022 13:57:19 +0200
Add ban type room.
Fixes #11
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/components/forms/BanForm.tsx b/src/components/forms/BanForm.tsx
@@ -23,7 +23,7 @@ type State = {
roomId?: string;
aliases_shortcodes: Map<string, string>;
banlist: string;
- bantype: "user" | "server" | "";
+ bantype: "user" | "server" | "room" | "";
};
class BanForm extends PureComponent<Props, State> {
@@ -144,6 +144,7 @@ class BanForm extends PureComponent<Props, State> {
<option value="" disabled>Select an Bantype</option>
<option value="user">User</option>
<option value="server">Server</option>
+ <option value="room">Room</option>
</select>
</div>
</label>