* fix: correct 'StatusChecker' typo * feat: add restart required check to StatusChecker * fix(perms): remove MANAGE_SETTINGS permission * fix: allow alert to be dismissed * fix(lang): add missing string in SettingsServices * fix(frontend): fix modal icon border * fix(frontend): un-dismiss alert if setting reverted not require server restart * fix(backend): restart flag only needs to track main settings * fix: rebase issue * refactor: appease Prettier * refactor: swap settings badge order * fix: type import for MainSettings * test: add cypress test for restart prompt
18 lines
511 B
TypeScript
18 lines
511 B
TypeScript
import type { NextPage } from 'next';
|
|
import React from 'react';
|
|
import SettingsAbout from '../../components/Settings/SettingsAbout';
|
|
import SettingsLayout from '../../components/Settings/SettingsLayout';
|
|
import useRouteGuard from '../../hooks/useRouteGuard';
|
|
import { Permission } from '../../hooks/useUser';
|
|
|
|
const SettingsAboutPage: NextPage = () => {
|
|
useRouteGuard(Permission.ADMIN);
|
|
return (
|
|
<SettingsLayout>
|
|
<SettingsAbout />
|
|
</SettingsLayout>
|
|
);
|
|
};
|
|
|
|
export default SettingsAboutPage;
|