1
0

chore: remove global mixing

This commit is contained in:
Dominik Pschenitschni
2022-06-23 03:23:39 +02:00
parent b0ee316a26
commit 4a247b2a7d
13 changed files with 30 additions and 25 deletions

View File

@ -17,6 +17,7 @@
import {defineComponent} from 'vue'
import NamespaceService from '@/services/namespace'
import { setTitle } from '@/helpers/setTitle'
export default defineComponent({
name: 'namespace-setting-archive',
@ -33,7 +34,7 @@ export default defineComponent({
this.title = this.namespace.isArchived ?
this.$t('namespace.archive.titleUnarchive', {namespace: this.namespace.title}) :
this.$t('namespace.archive.titleArchive', {namespace: this.namespace.title})
this.setTitle(this.title)
setTitle(this.title)
},
methods: {

View File

@ -14,6 +14,7 @@
<script lang="ts">
import {defineComponent} from 'vue'
import { setTitle } from '@/helpers/setTitle'
export default defineComponent({
name: 'namespace-setting-delete',
@ -31,7 +32,7 @@ export default defineComponent({
watch: {
title: {
handler(title) {
this.setTitle(title)
setTitle(title)
},
immediate: true,
},