CatalogInfo.vue: remove outdated code

This commit is contained in:
2020-01-15 16:08:17 -08:00
parent 339373b753
commit d5b96a945a

View File

@ -78,7 +78,6 @@ export default {
data: () => ({
seasons: seasons,
regions: regions,
isAdmin: false, // TODO
rules: {
required: value => {
return !!value || 'Required'
@ -134,15 +133,6 @@ export default {
}
},
master: {
get() {
return this.$store.getters.catalogProperty('master')
},
set(master) {
this.$store.dispatch('setCatalogProperty', { key: 'master', value: master })
}
},
isPublic: {
get() {
return this.$store.getters.catalogProperty('public')
@ -160,16 +150,6 @@ export default {
this.$store.dispatch('setCatalogProperty', { key: 'show_prices', value: showPrices })
}
},
utility: {
get() {
return this.$store.getters.catalogProperty('is_utility')
},
set(isUtility) {
this.$store.dispatch('setCatalogProperty', { key: 'is_utility', value: isUtility })
}
},
},
}
</script>