fix some missing $config

This commit is contained in:
les
2020-10-07 13:05:19 +02:00
parent 585650b567
commit a5cd388a1e
5 changed files with 11 additions and 13 deletions

View File

@@ -143,7 +143,7 @@ export default {
this.linkModal = false
},
async removeFooterLink (item) {
const ret = await this.$root.$confirm(this.$t('common.confirm'), this.$t('admin.delete_footer_link_confirm'))
const ret = await this.$root.$confirm('admin.delete_footer_link_confirm')
if (!ret) { return }
const footerLinks = this.settings.footerLinks.filter(l => l.label !== item.label)
this.setSetting({ key: 'footerLinks', value: footerLinks })