update view

This commit is contained in:
Admin 2025-08-14 08:20:12 +07:00
parent 802fbd23e3
commit 14bec38e73
1 changed files with 7 additions and 1 deletions

View File

@ -44,6 +44,7 @@ import type { RootState } from "~/store";
import ProductModal from "./components/modals/product-modal"; import ProductModal from "./components/modals/product-modal";
import { Badge } from "~/components/ui/badge"; import { Badge } from "~/components/ui/badge";
import { HistoryModal } from "./components/modals/history-modal"; import { HistoryModal } from "./components/modals/history-modal";
import { Textarea } from "~/components/ui/textarea";
export default function List() { export default function List() {
// const { setEdit } = useUserModal(); // const { setEdit } = useUserModal();
@ -100,8 +101,13 @@ export default function List() {
{ {
key: "description", key: "description",
label: "Description", label: "Description",
displayType: "text", displayType: "custom",
sortable: true, sortable: true,
render(value, row) {
return (
<Textarea readOnly value={value} className="resize-none"></Textarea>
);
},
}, },
{ {
key: "tags", key: "tags",