Allow deleting any variant as long as there is more than one
This commit is contained in:
@@ -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);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user