Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2022-04-05 14:23:10 +0300
committerGitHub <noreply@github.com>2022-04-05 14:23:10 +0300
commit10409169a1b4b891d188db98823297648003b0df (patch)
tree28f7833cd16b46e318ea8277893548d8ee5f69ff /plugins/CoreHome/vue/src
parent9d6d7a98516943c280c35a3f5f014d371734c5d0 (diff)
[Vue] migrate campaign builder directive to vue (#19004)
* migrate campaign builder directive to vue * fix angularjs/vue binding combinations * fix spacing and make sure adapter is exported * fix variable reference * fix reset of generated URL * update expected screenshots * fix ui test * update expected screenshots Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'plugins/CoreHome/vue/src')
-rw-r--r--plugins/CoreHome/vue/src/WidgetLoader/WidgetLoader.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/CoreHome/vue/src/WidgetLoader/WidgetLoader.vue b/plugins/CoreHome/vue/src/WidgetLoader/WidgetLoader.vue
index 9e4ac6b239..76548ccc26 100644
--- a/plugins/CoreHome/vue/src/WidgetLoader/WidgetLoader.vue
+++ b/plugins/CoreHome/vue/src/WidgetLoader/WidgetLoader.vue
@@ -219,6 +219,8 @@ export default defineComponent({
const scope = $rootScope.$new();
this.currentScope = scope;
+ // compile angularjs first since it will modify all dom nodes, breaking vue bindings
+ // if they are present
Matomo.helper.compileAngularComponents($content, { scope });
Matomo.helper.compileVueEntryComponents($content);