Cleanup to support next update
This commit is contained in:
@@ -58,6 +58,7 @@ export default function EditLogo() {
|
|||||||
setSubmitStatus(createInputStatus(STATUS_ERROR, `There was an error: ${msg}`));
|
setSubmitStatus(createInputStatus(STATUS_ERROR, `There was an error: ${msg}`));
|
||||||
resetTimer = setTimeout(resetStates, RESET_TIMEOUT);
|
resetTimer = setTimeout(resetStates, RESET_TIMEOUT);
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
|
// eslint-disable-next-line no-promise-executor-return
|
||||||
return rej();
|
return rej();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -204,9 +204,7 @@ export default function CurrentVariantsTable() {
|
|||||||
</Title>
|
</Title>
|
||||||
|
|
||||||
{showSecondVariantRecommendation() && (
|
{showSecondVariantRecommendation() && (
|
||||||
<>
|
<Alert message={ENCODER_RECOMMENDATION_THRESHOLD.HELP_TEXT} type="info" closable />
|
||||||
<Alert message={ENCODER_RECOMMENDATION_THRESHOLD.HELP_TEXT} type="info" closable />
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<FormStatusIndicator status={submitStatus} />
|
<FormStatusIndicator status={submitStatus} />
|
||||||
|
|||||||
1
web/package-lock.json
generated
1
web/package-lock.json
generated
@@ -5,6 +5,7 @@
|
|||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"name": "owncast-admin",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/icons": "^4.7.0",
|
"@ant-design/icons": "^4.7.0",
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
import React, { useState, useEffect, useContext } from 'react';
|
import React, { useState, useEffect, useContext } from 'react';
|
||||||
import { Typography, Tabs } from 'antd';
|
import { Tabs } from 'antd';
|
||||||
import { ServerStatusContext } from '../../utils/server-status-context';
|
import { ServerStatusContext } from '../../utils/server-status-context';
|
||||||
import { CONNECTED_CLIENTS, fetchData, DISABLED_USERS, MODERATORS } from '../../utils/apis';
|
import { CONNECTED_CLIENTS, fetchData, DISABLED_USERS, MODERATORS } from '../../utils/apis';
|
||||||
import UserTable from '../../components/user-table';
|
import UserTable from '../../components/user-table';
|
||||||
import ClientTable from '../../components/client-table';
|
import ClientTable from '../../components/client-table';
|
||||||
|
|
||||||
const { Title } = Typography;
|
|
||||||
const { TabPane } = Tabs;
|
const { TabPane } = Tabs;
|
||||||
|
|
||||||
export const FETCH_INTERVAL = 10 * 1000; // 10 sec
|
export const FETCH_INTERVAL = 10 * 1000; // 10 sec
|
||||||
|
|||||||
Reference in New Issue
Block a user