Default to blank category when submitting

This commit is contained in:
Ajay Ramachandran
2020-07-12 20:59:35 -04:00
parent 2d74ce2093
commit 3dc6563048
6 changed files with 29 additions and 5 deletions

View File

@@ -230,7 +230,12 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
}
getCategoryOptions() {
let elements = [];
let elements = [(
<option value={"chooseACategory"}
key={"chooseACategory"}>
{chrome.i18n.getMessage("chooseACategory")}
</option>
)];
for (const category of Config.config.categorySelections) {
elements.push(