mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +08:00
fa187f3b31
* Add shared assets download and fix loading of the shareable button on task [SCI-8754] * Add additional check before asset loading [SCI-8754] * Add additional check before asset loading [SCI-8754] * Load asset for specific task [SCI-8754]
20 lines
484 B
JavaScript
20 lines
484 B
JavaScript
import Vue from 'vue/dist/vue.esm';
|
|
import ShareLinkContainer from '../../vue/shareable_links/container.vue';
|
|
import PerfectScrollbar from 'vue2-perfect-scrollbar';
|
|
import 'vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.css';
|
|
|
|
|
|
Vue.use(PerfectScrollbar);
|
|
|
|
Vue.prototype.i18n = window.I18n;
|
|
|
|
function initShareTaskContainer() {
|
|
new Vue({
|
|
el: '.share-task-container',
|
|
components: {
|
|
'share-task-container': ShareLinkContainer
|
|
}
|
|
});
|
|
}
|
|
|
|
initShareTaskContainer();
|