From 3b9b4e1163ed0ec9b1af2a04f2a303d00926b9e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vikt=C3=B3ria=20Brezinov=C3=A1?= <52294703+vikibrezinova@users.noreply.github.com> Date: Sat, 14 Dec 2024 00:51:06 +0100 Subject: [PATCH] remove sites from flat pages in RA (#516) remove sites from flatpage in RA Co-authored-by: viktoria.brezinova --- .../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 = () => ( - )