fix lint.

This commit is contained in:
Simon Larsen 2023-01-23 11:14:18 +00:00
parent 10c24491c0
commit 9932090c25
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
3 changed files with 18 additions and 17 deletions

View File

@ -160,14 +160,14 @@ const StatusPageDelete: FunctionComponent<PageComponentProps> = (
fieldType: FormFieldSchemaType.Checkbox,
required: false,
},
{
field: {
showRssPage: true,
},
title: 'Enable RSS Page',
fieldType: FormFieldSchemaType.Checkbox,
required: false,
},
// {
// field: {
// showRssPage: true,
// },
// title: 'Enable RSS Page',
// fieldType: FormFieldSchemaType.Checkbox,
// required: false,
// },
]}
modelDetailProps={{
showDetailsInNumberOfColumns: 1,
@ -209,13 +209,13 @@ const StatusPageDelete: FunctionComponent<PageComponentProps> = (
fieldType: FieldType.Boolean,
title: 'Enable Subscribers',
},
{
field: {
showRssPage: true,
},
fieldType: FieldType.Boolean,
title: 'Enable RSS',
},
// {
// field: {
// showRssPage: true,
// },
// fieldType: FieldType.Boolean,
// title: 'Enable RSS',
// },
],
modelId: modelId,
}}

View File

@ -55,7 +55,8 @@ const App: FunctionComponent = () => {
const onPageLoadComplete: Function = (): void => {
if (javascript) {
eval(javascript);
// run custom javascipt.
new Function(javascript)();
}
};

View File

@ -202,7 +202,7 @@ const DashboardMasterPage: FunctionComponent<ComponentProps> = (
className=" m-auto"
makeTopSectionUnstick={true}
topSectionClassName="shadow p-1 bg-white rounded mb-5 flex justify-center"
hideHeader={!logo && links.length === 0}
hideHeader={!headerHtml && !logo && links.length === 0}
footer={
!footerHtml ? (
<Footer