mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 00:55:50 +00:00
removed unused progress
This commit is contained in:
parent
caca00ce30
commit
08f9094399
3 changed files with 4 additions and 4 deletions
|
|
@ -81,13 +81,13 @@ const Channel = ({ channel = null, isOpen, onClose }) => {
|
|||
id: channel.id,
|
||||
...values,
|
||||
logo_file: logoFile,
|
||||
stream_ids: channelStreams.map((stream) => stream.id),
|
||||
streams: channelStreams.map((stream) => stream.id),
|
||||
});
|
||||
} else {
|
||||
await API.addChannel({
|
||||
...values,
|
||||
logo_file: logoFile,
|
||||
stream_ids: channelStreams.map((stream) => stream.id),
|
||||
streams: channelStreams.map((stream) => stream.id),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ const Stream = ({ stream = null, isOpen, onClose }) => {
|
|||
color="primary"
|
||||
disabled={formik.isSubmitting}
|
||||
>
|
||||
{formik.isSubmitting ? <CircularProgress size={24} /> : 'Submit'}
|
||||
Submit
|
||||
</Button>
|
||||
</Flex>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ const UserAgent = ({ userAgent = null, isOpen, onClose }) => {
|
|||
variant="contained"
|
||||
disabled={formik.isSubmitting}
|
||||
>
|
||||
{formik.isSubmitting ? <CircularProgress size={24} /> : 'Submit'}
|
||||
Submit
|
||||
</Button>
|
||||
</Flex>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue