@@ -27,6 +27,7 @@ import {
27
27
} from "@/components/ui/blocks/dropdown-menu" ;
28
28
import { NumberInputField } from "@/components/ui/blocks/number-input-field" ;
29
29
import { SelectField , SelectItem } from "@/components/ui/blocks/select-field" ;
30
+ import { TextAreaField } from "@/components/ui/blocks/text-area-field" ;
30
31
import { TextInputField } from "@/components/ui/blocks/text-input-field" ;
31
32
import { Button } from "@/components/ui/button" ;
32
33
import {
@@ -250,6 +251,7 @@ export function AdminServicesTableContent(props: AdminServicesTableContentProps)
250
251
< Column allowsSorting = { true } id = "marketplaceStatus" >
251
252
Marketplace status
252
253
</ Column >
254
+ < Column id = "comment" > Comment</ Column >
253
255
< Column defaultWidth = { 50 } id = "actions" >
254
256
Actions
255
257
</ Column >
@@ -286,6 +288,9 @@ export function AdminServicesTableContent(props: AdminServicesTableContentProps)
286
288
</ Cell >
287
289
< Cell > { row . marketplaceId } </ Cell >
288
290
< Cell > { row . marketplaceStatus } </ Cell >
291
+ < Cell >
292
+ < span title = { row . comment ?? undefined } > { row . comment } </ span >
293
+ </ Cell >
289
294
< Cell >
290
295
< div className = "flex justify-end" >
291
296
< DropdownMenuTrigger >
@@ -768,6 +773,7 @@ function ServicesEditForm(props: ServicesEditFormProps) {
768
773
Private supplier
769
774
</ span >
770
775
</ label >
776
+ < TextAreaField defaultValue = { service ?. comment ?? undefined } label = "Comment" name = "comment" />
771
777
772
778
< FormSuccessMessage key = { createKey ( "form-success" , formState ?. timestamp ) } >
773
779
{ formState ?. status === "success" && formState . message . length > 0 ? formState . message : null }
0 commit comments