Allow deleting any variant as long as there is more than one

This commit is contained in:
Gabe Kangas 2021-02-03 10:11:11 -08:00
parent 59871401d6
commit 5038992513

View file

@ -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);
}}