fix key
This commit is contained in:
parent
d4771254c4
commit
20378c7d0c
|
|
@ -28,7 +28,7 @@ function FormStaticInfo({ isDisable = false }: { isDisable?: boolean }) {
|
||||||
|
|
||||||
</Col>
|
</Col>
|
||||||
<Col>
|
<Col>
|
||||||
<ValidationField name="value_type" option={valueTypeOptions || []} type="Select" label='value_type' placeholder='placeholder' />
|
{/* <ValidationField name="value_type" option={valueTypeOptions || []} type="Select" label='value_type' placeholder='placeholder' /> */}
|
||||||
|
|
||||||
<ValidationField name="value" type={formik?.values?.value_type == 'image' ? 'File' : 'text'} label='value' placeholder='placeholder' />
|
<ValidationField name="value" type={formik?.values?.value_type == 'image' ? 'File' : 'text'} label='value' placeholder='placeholder' />
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ function StaticInfoPage() {
|
||||||
return (
|
return (
|
||||||
// Pass Status to Layout
|
// Pass Status to Layout
|
||||||
<DashBody status={status as QueryStatusEnum} >
|
<DashBody status={status as QueryStatusEnum} >
|
||||||
<DashHeader title={'StaticInfo'}></DashHeader>
|
<DashHeader showAddButton={false} title={'StaticInfo'}></DashHeader>
|
||||||
|
|
||||||
<LyTable
|
<LyTable
|
||||||
data={data}
|
data={data}
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,7 @@ const useTableColumns: any = () => {
|
||||||
onView={() => {}}
|
onView={() => {}}
|
||||||
objectToEdit={row}
|
objectToEdit={row}
|
||||||
showEdit={true}
|
showEdit={true}
|
||||||
|
showDelete={false}
|
||||||
showView={false}
|
showView={false}
|
||||||
onDelete={() => deleteMutation.mutate({ id: row.id })}
|
onDelete={() => deleteMutation.mutate({ id: row.id })}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user