mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
4a8582ebc8
* Initial implementation of protocol processing modal [SCI-8661] * Prepare placeholder jobs and integrate notifications [SCI-8661]
18 lines
472 B
JavaScript
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();
|