Skip to content

Commit

Permalink
Add the toolgroup workflow to the categorization page
Browse files Browse the repository at this point in the history
  • Loading branch information
surchs committed Oct 17, 2023
1 parent 715f0dc commit aeef78f
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions pages/categorization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
</b-col>

</b-row>
<b-row>
<b-col cols="12">
<categoryToolgroup />
</b-col>
</b-row>

</b-container>

Expand All @@ -45,43 +50,29 @@
import { mapGetters } from "vuex";
export default {
name: "CategorizationPage",
data() {
return {
// Category selection (default is index 0, no selection is -1)
selectedCategory: "",
// Text for UI elements
uiText: {
categorySelectInstructions: "Click category and then corresponding column from tsv file",
categorySelectTitle: "Recommended Categories"
}
};
},
computed: {
...mapGetters([
"getCategoryNames"
])
},
mounted() {
// Set selected category to the first category by default
this.setSelectedCategory(this.getCategoryNames[0]);
},
methods: {
setSelectedCategory(p_category) {
// Save the name of the selected category
this.selectedCategory = p_category;
}
Expand Down

0 comments on commit aeef78f

Please sign in to comment.