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 11// Copyright 2024 the JSR authors. All rights reserved. MIT license.
22import { useState } from "preact/hooks" ;
3+ import { TbCheck , TbClock } from "tb-icons" ;
34import {
45 AdminUpdateTicketRequest ,
56 FullUser ,
@@ -35,7 +36,7 @@ export function TicketMessageInput(
3536 } }
3637 >
3738 < 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 "
3940 value = { message }
4041 rows = { 3 }
4142 placeholder = "Type your message here..."
@@ -65,7 +66,17 @@ export function TicketMessageInput(
6566 } ) ;
6667 } }
6768 >
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
6980 </ button >
7081 ) }
7182 </ div >
You can’t perform that action at this time.
0 commit comments