taking out old category chooser in show category component

practiced-songs
Matthew Huntington 1 year ago
parent 37378a67ac
commit d4cd8a768d

@ -14,7 +14,6 @@
} }
</script> </script>
<template> <template>
<h3>Choose Category</h3>
<select v-model="chosenInstrument"> <select v-model="chosenInstrument">
<option v-for="instrument in instruments" v-bind:value="instrument"> <option v-for="instrument in instruments" v-bind:value="instrument">
{{instrument}} {{instrument}}

@ -38,13 +38,6 @@
<template> <template>
<h2>Show Category</h2> <h2>Show Category</h2>
<select @change="change" v-model="practiceCategoryId">
<option v-for="category in categories" v-bind:value="category.id">
{{category.instrument}}
:
{{category.category}}
</option>
</select>
<CategoryChooser @update="loadCategory" v-if="categories.length > 0" :categories="categories" /> <CategoryChooser @update="loadCategory" v-if="categories.length > 0" :categories="categories" />
<table> <table>
<thead> <thead>

Loading…
Cancel
Save