mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
auto formatting using 'npm run format'
This commit is contained in:
@@ -15,7 +15,6 @@ import SystemLog from './SystemLog';
|
||||
import { useI18nContext } from '../../i18n/i18n-react';
|
||||
|
||||
const System: FC = () => {
|
||||
|
||||
const { LL } = useI18nContext();
|
||||
|
||||
useLayoutTitle(LL.SYSTEM());
|
||||
@@ -30,7 +29,7 @@ const System: FC = () => {
|
||||
<Tab value="status" label={LL.SYSTEM() + ' ' + LL.STATUS()} />
|
||||
<Tab value="log" label={LL.SYSTEM() + ' ' + LL.LOG()} />
|
||||
|
||||
{features.ota && <Tab value="ota" label={"OTA " + LL.SETTINGS()} disabled={!me.admin} />}
|
||||
{features.ota && <Tab value="ota" label={'OTA ' + LL.SETTINGS()} disabled={!me.admin} />}
|
||||
{features.upload_firmware && <Tab value="upload" label={LL.UPLOAD_DOWNLOAD()} disabled={!me.admin} />}
|
||||
</RouterTabs>
|
||||
<Routes>
|
||||
|
||||
@@ -143,7 +143,8 @@ const SystemStatusForm: FC = () => {
|
||||
|
||||
{latestDevVersion && (
|
||||
<Box mt={2} mb={2}>
|
||||
{LL.THE_LATEST()} <u>development</u> {LL.VERSION_IS()} <b>{latestDevVersion.version}</b> (
|
||||
{LL.THE_LATEST()} <u>development</u> {LL.VERSION_IS()} <b>{latestDevVersion.version}</b>
|
||||
(
|
||||
<Link target="_blank" href={latestDevVersion.changelog} color="primary">
|
||||
{'release notes'}
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user