mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Allow deleting any variant as long as there is more than one
This commit is contained in:
parent
59871401d6
commit
5038992513
@ -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…
x
Reference in New Issue
Block a user