hound fix

This commit is contained in:
Giga Chubinidze 2023-12-19 12:19:19 +04:00
parent 7de19c31ec
commit 23ede59730
2 changed files with 4 additions and 6 deletions

View file

@ -1,5 +1,3 @@
/* global notTurbolinksPreview */
import { createApp } from 'vue/dist/vue.esm-bundler.js';
import OpenLocallyMenu from '../../vue/shared/content/attachments/open_locally_menu.vue';
import { mountWithTurbolinks } from './helpers/turbolinks.js';

View file

@ -48,16 +48,16 @@
})
}
if (this.canOpenLocally) {
console.log(this.localAppName)
const text = this.localAppName ?
this.i18n.t('attachments.open_locally_in', { application: this.localAppName }) :
this.i18n.t('attachments.open_locally')
const text = this.localAppName
? this.i18n.t('attachments.open_locally_in', { application: this.localAppName })
: this.i18n.t('attachments.open_locally')
menu.push({
text: text,
emit: 'open_locally'
})
}
return menu;
}
}