From bf26907caa16f08a8041aea9354ebee1d0880555 Mon Sep 17 00:00:00 2001 From: "viktoria.brezinova" Date: Fri, 13 Dec 2024 23:29:53 +0100 Subject: [PATCH] remove sites from flatpage in RA --- .../Admin/resources/base/flat-page/FlatpageCreate.tsx | 2 -- src/components/Admin/resources/base/flat-page/FlatpageEdit.tsx | 2 -- src/components/Admin/resources/base/flat-page/FlatpageList.tsx | 2 -- src/components/Admin/resources/base/flat-page/FlatpageShow.tsx | 2 -- 4 files changed, 8 deletions(-) diff --git a/src/components/Admin/resources/base/flat-page/FlatpageCreate.tsx b/src/components/Admin/resources/base/flat-page/FlatpageCreate.tsx index 75354d3d..a1a6a2c3 100644 --- a/src/components/Admin/resources/base/flat-page/FlatpageCreate.tsx +++ b/src/components/Admin/resources/base/flat-page/FlatpageCreate.tsx @@ -3,7 +3,6 @@ import {FormTab, NumberInput, required, TabbedForm, TextInput} from 'react-admin import {FlatpagePreview} from '@/components/Admin/custom/FlatpagePreview' import {MyCreate} from '@/components/Admin/custom/MyCreate' -import {SitesCheckboxInput} from '@/components/Admin/custom/SitesCheckboxInput' export const FlatpageCreate: FC = () => ( @@ -13,7 +12,6 @@ export const FlatpageCreate: FC = () => ( - diff --git a/src/components/Admin/resources/base/flat-page/FlatpageEdit.tsx b/src/components/Admin/resources/base/flat-page/FlatpageEdit.tsx index 63deb7fe..5c9f9ec8 100644 --- a/src/components/Admin/resources/base/flat-page/FlatpageEdit.tsx +++ b/src/components/Admin/resources/base/flat-page/FlatpageEdit.tsx @@ -3,7 +3,6 @@ import {FormTab, NumberInput, required, TabbedForm, TextInput} from 'react-admin import {FlatpagePreview} from '@/components/Admin/custom/FlatpagePreview' import {MyEdit} from '@/components/Admin/custom/MyEdit' -import {SitesCheckboxInput} from '@/components/Admin/custom/SitesCheckboxInput' export const FlatpageEdit: FC = () => ( @@ -13,7 +12,6 @@ export const FlatpageEdit: FC = () => ( - diff --git a/src/components/Admin/resources/base/flat-page/FlatpageList.tsx b/src/components/Admin/resources/base/flat-page/FlatpageList.tsx index 04903310..c11281fa 100644 --- a/src/components/Admin/resources/base/flat-page/FlatpageList.tsx +++ b/src/components/Admin/resources/base/flat-page/FlatpageList.tsx @@ -1,7 +1,6 @@ import {FC} from 'react' import {Datagrid, List, NumberField, TextField} from 'react-admin' -import {SitesArrayField} from '@/components/Admin/custom/SitesArrayField' import {TruncatedTextField} from '@/components/Admin/custom/TruncatedTextField' export const FlatpageList: FC = () => ( @@ -11,7 +10,6 @@ export const FlatpageList: FC = () => ( - ) diff --git a/src/components/Admin/resources/base/flat-page/FlatpageShow.tsx b/src/components/Admin/resources/base/flat-page/FlatpageShow.tsx index 1e4a6b1f..1e7679c6 100644 --- a/src/components/Admin/resources/base/flat-page/FlatpageShow.tsx +++ b/src/components/Admin/resources/base/flat-page/FlatpageShow.tsx @@ -2,7 +2,6 @@ import {FC} from 'react' import {NumberField, Show, SimpleShowLayout, TextField} from 'react-admin' import {MyShowActions} from '@/components/Admin/custom/MyShowActions' -import {SitesArrayField} from '@/components/Admin/custom/SitesArrayField' import {TruncatedTextField} from '@/components/Admin/custom/TruncatedTextField' export const FlatpageShow: FC = () => ( @@ -12,7 +11,6 @@ export const FlatpageShow: FC = () => ( - )