open the modal by click override

This commit is contained in:
negue
2023-03-11 00:40:05 +01:00
parent a210ab57b0
commit e39b3bdd35
2 changed files with 23 additions and 3 deletions

View File

@@ -33,9 +33,15 @@ setUpLogging();
setupAnalytics(); // just create queues for analytics, no scripts loaded at this time
const store = getStore();
export default new Vue({
const vueInstance = new Vue({
el: '#app',
router,
store,
render: h => h(AppComponent),
});
export default vueInstance;
window.externalLink = url => {
vueInstance.$root.$emit('bv::show::modal', 'external-link-modal', url);
};