chore: remove global mixing

This commit is contained in:
Dominik Pschenitschni 2022-06-23 03:23:39 +02:00
parent b0ee316a26
commit 4a247b2a7d
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
13 changed files with 30 additions and 25 deletions

View file

@ -67,19 +67,6 @@ app.component('x-button', Button)
app.component('modal', Modal)
app.component('card', Card)
// Mixins
import {getNamespaceTitle} from './helpers/getNamespaceTitle'
import {getListTitle} from './helpers/getListTitle'
import {setTitle} from './helpers/setTitle'
app.mixin({
methods: {
getNamespaceTitle,
getListTitle,
setTitle,
},
})
app.config.errorHandler = (err, vm, info) => {
if (import.meta.env.DEV) {
console.error(err, vm, info)