mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
fix lint.
This commit is contained in:
parent
10c24491c0
commit
9932090c25
@ -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,
|
||||
}}
|
||||
|
@ -55,7 +55,8 @@ const App: FunctionComponent = () => {
|
||||
|
||||
const onPageLoadComplete: Function = (): void => {
|
||||
if (javascript) {
|
||||
eval(javascript);
|
||||
// run custom javascipt.
|
||||
new Function(javascript)();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user