File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright 2024 the JSR authors. All rights reserved. MIT license.
2
2
import { useState } from "preact/hooks" ;
3
+ import { TbCheck , TbClock } from "tb-icons" ;
3
4
import {
4
5
AdminUpdateTicketRequest ,
5
6
FullUser ,
@@ -35,7 +36,7 @@ export function TicketMessageInput(
35
36
} }
36
37
>
37
38
< textarea
38
- class = "w-full block px-2 py-1.5 input-container input"
39
+ class = "w-full block px-2 py-1.5 input-container input min-h-20 "
39
40
value = { message }
40
41
rows = { 3 }
41
42
placeholder = "Type your message here..."
@@ -65,7 +66,17 @@ export function TicketMessageInput(
65
66
} ) ;
66
67
} }
67
68
>
68
- { ticket . closed ? "Re-open" : "Close" } ticket
69
+ { ticket . closed
70
+ ? (
71
+ < >
72
+ < TbClock class = "text-white" /> Re-open
73
+ </ >
74
+ )
75
+ : (
76
+ < >
77
+ < TbCheck class = "text-white" /> Close
78
+ </ >
79
+ ) } ticket
69
80
</ button >
70
81
) }
71
82
</ div >
You can’t perform that action at this time.
0 commit comments