mirror of
https://github.com/owncast/owncast.git
synced 2024-11-26 06:46:01 +03:00
Allow deleting any variant as long as there is more than one
This commit is contained in:
parent
59871401d6
commit
5038992513
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ export default function CurrentVariantsTable() {
|
|||
className="delete-button"
|
||||
icon={<DeleteOutlined />}
|
||||
size="small"
|
||||
disabled={index === 0}
|
||||
disabled={videoQualityVariants.length === 1}
|
||||
onClick={() => {
|
||||
handleDeleteVariant(index);
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue