scinote-web/app/javascript/packs/vue/protocol_file_import_modal.js
artoscinote 4a8582ebc8
Initial implementation of protocol processing modal [SCI-8661] (#5683)
* Initial implementation of protocol processing modal [SCI-8661]

* Prepare placeholder jobs and integrate notifications [SCI-8661]
2023-07-11 09:27:15 +02:00

18 lines
472 B
JavaScript

import TurbolinksAdapter from 'vue-turbolinks';
import Vue from 'vue/dist/vue.esm';
import ProtocolFileImportModal from '../../vue/protocol_import/file_import_modal.vue';
Vue.use(TurbolinksAdapter);
Vue.prototype.i18n = window.I18n;
window.initProtocolFileImportModalComponent = () => {
new Vue({
el: '#protocolFileImportModal',
components: {
'protocol-file-import-modal': ProtocolFileImportModal
}
});
};
initProtocolFileImportModalComponent();