update view
This commit is contained in:
parent
802fbd23e3
commit
14bec38e73
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue