mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
Make action toolbar initialization more robust [SCI-8413]
This commit is contained in:
parent
2adb908dc0
commit
a937198178
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ import ActionToolbar from '../../vue/components/action_toolbar.vue';
|
|||
Vue.use(TurbolinksAdapter);
|
||||
|
||||
window.initActionToolbar = () => {
|
||||
if (window.actionToolbarComponent) return;
|
||||
|
||||
new Vue({
|
||||
el: '#actionToolbar',
|
||||
components: {
|
||||
|
|
Loading…
Reference in a new issue