Category selections now save

This commit is contained in:
Ajay Ramachandran
2020-04-02 22:13:36 -04:00
parent 6ea87d7cd0
commit 3afde08a6e
4 changed files with 74 additions and 14 deletions

View File

@@ -26,9 +26,11 @@ class CategoryChooserComponent extends React.Component<CategoryChooserProps, Cat
render() {
return (
<table id="categoryChooserTable"
className="categoryChooserTable"> <tbody>
{this.getCategorySkipOptions()}
</tbody> </table>
className="categoryChooserTable">
<tbody>
{this.getCategorySkipOptions()}
</tbody>
</table>
);
}
@@ -38,7 +40,8 @@ class CategoryChooserComponent extends React.Component<CategoryChooserProps, Cat
for (const category of CompileConfig.categoryList) {
elements.push(
<CategorySkipOptionsComponent category={category}
defaultColor={"00d400"}>
defaultColor={"00d400"}
key={category}>
</CategorySkipOptionsComponent>
);
}