forked from administration/panel
fix: allow sending multiline alerts
parent
bc48204410
commit
0210d385aa
|
@ -40,6 +40,7 @@ import { cn } from "@/lib/utils";
|
||||||
import { decodeTime } from "ulid";
|
import { decodeTime } from "ulid";
|
||||||
import { Checkbox } from "@/components/ui/checkbox";
|
import { Checkbox } from "@/components/ui/checkbox";
|
||||||
import UserSelector from "@/components/ui/user-selector";
|
import UserSelector from "@/components/ui/user-selector";
|
||||||
|
import { Textarea } from "@/components/ui/textarea";
|
||||||
|
|
||||||
const badges = [1, 2, 4, 8, 16, 32, 128, 0, 256, 512, 1024];
|
const badges = [1, 2, 4, 8, 16, 32, 128, 0, 256, 512, 1024];
|
||||||
|
|
||||||
|
@ -302,7 +303,7 @@ export function UserActions({ user, bot }: { user: User; bot?: Bot }) {
|
||||||
This will send a message from the Platform Moderation
|
This will send a message from the Platform Moderation
|
||||||
account.
|
account.
|
||||||
</span>
|
</span>
|
||||||
<Input
|
<Textarea
|
||||||
placeholder="Enter a message..."
|
placeholder="Enter a message..."
|
||||||
name="message"
|
name="message"
|
||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
|
|
Loading…
Reference in New Issue