mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-24 08:43:13 +08:00
hound fix
This commit is contained in:
parent
7de19c31ec
commit
23ede59730
2 changed files with 4 additions and 6 deletions
|
@ -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';
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue