1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-23 21:02:13 +03:00

Category info edit refactoring (#275)

* separately import vue, vue-class-component

* changed categoryStatus declaration, refactored imports
This commit is contained in:
Gigiman 2019-05-18 18:47:58 +05:00 committed by avele
parent b55ccbd891
commit eaa967cec6

View File

@ -40,6 +40,7 @@
label="Pros/cons enabled"
value="ItemProsConsSection"
class="mb-2"
append-icon=""
/>
<v-checkbox
v-model="checkboxSections"
@ -79,7 +80,9 @@
</template>
<script lang="ts">
import { Vue, Component, Prop, Watch } from 'vue-property-decorator';
import Vue from 'vue'
import Component from 'vue-class-component'
import { Prop, Watch } from 'vue-property-decorator';
import { CategoryStatus } from 'client/service/Category'
@Component
@ -104,6 +107,7 @@ export default class CategoryInfoEdit extends Vue {
]
beforeMount () {
// TODO change to normal icon import
this.$vuetify.icons.checkboxOff = this.$vuetify.icons.square
}