chore: remove global mixing
This commit is contained in:
@ -119,6 +119,7 @@ import {LOADING, LOADING_MODULE} from '@/store/mutation-types'
|
||||
import BaseButton from '@/components/base/BaseButton.vue'
|
||||
import AsyncEditor from '@/components/input/AsyncEditor'
|
||||
import ColorPicker from '@/components/input/colorPicker.vue'
|
||||
import { setTitle } from '@/helpers/setTitle'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ListLabels',
|
||||
@ -140,7 +141,7 @@ export default defineComponent({
|
||||
this.$store.dispatch('labels/loadAllLabels')
|
||||
},
|
||||
mounted() {
|
||||
this.setTitle(this.$t('label.title'))
|
||||
setTitle(this.$t('label.title'))
|
||||
},
|
||||
computed: mapState({
|
||||
userInfo: state => state.auth.info,
|
||||
|
@ -41,6 +41,7 @@ import CreateEdit from '@/components/misc/create-edit.vue'
|
||||
import ColorPicker from '../../components/input/colorPicker.vue'
|
||||
import {mapState} from 'vuex'
|
||||
import {LOADING, LOADING_MODULE} from '@/store/mutation-types'
|
||||
import { setTitle } from '@/helpers/setTitle'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'NewLabel',
|
||||
@ -55,7 +56,7 @@ export default defineComponent({
|
||||
ColorPicker,
|
||||
},
|
||||
mounted() {
|
||||
this.setTitle(this.$t('label.create.title'))
|
||||
setTitle(this.$t('label.create.title'))
|
||||
},
|
||||
computed: mapState({
|
||||
loading: state => state[LOADING] && state[LOADING_MODULE] === 'labels',
|
||||
|
Reference in New Issue
Block a user