Make action toolbar initialization more robust [SCI-8413]

This commit is contained in:
Martin Artnik 2023-05-18 15:52:18 +02:00
parent 2adb908dc0
commit a937198178

View file

@ -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: {