fix key
This commit is contained in:
parent
d4771254c4
commit
20378c7d0c
|
|
@ -28,7 +28,7 @@ function FormStaticInfo({ isDisable = false }: { isDisable?: boolean }) {
|
|||
|
||||
</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' />
|
||||
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ function StaticInfoPage() {
|
|||
|
||||
return (
|
||||
// Pass Status to Layout
|
||||
<DashBody status={status as QueryStatusEnum} >
|
||||
<DashHeader title={'StaticInfo'}></DashHeader>
|
||||
<DashBody status={status as QueryStatusEnum} >
|
||||
<DashHeader showAddButton={false} title={'StaticInfo'}></DashHeader>
|
||||
|
||||
<LyTable
|
||||
data={data}
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ const useTableColumns: any = () => {
|
|||
onView={() => {}}
|
||||
objectToEdit={row}
|
||||
showEdit={true}
|
||||
showDelete={false}
|
||||
showView={false}
|
||||
onDelete={() => deleteMutation.mutate({ id: row.id })}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user