diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-04-06 11:24:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 11:24:36 +0300 |
commit | 59f26bc0f5436426d5b42876a4c535973b519c2f (patch) | |
tree | ce9bbd3b6844db353b3417b739bca2f5f8f1fd4e /plugins/Morpheus/javascripts | |
parent | eb27d163a82d667c36c3c071991daf97c62c4ac0 (diff) |
[Vue] migrate manage gdpr directive to Vue (#19002)
* start migrating segment generator directive
* get to build
* remove some TODO
* rebuilt
* get UI tests to pass
* fix ng-model handling
* migrate manage gdpr directive to vue
* fixing UI tests in PrivacyManager
* update expected screenshots
* apply review fixes
* fix missing translation key
Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'plugins/Morpheus/javascripts')
-rw-r--r-- | plugins/Morpheus/javascripts/piwikHelper.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Morpheus/javascripts/piwikHelper.js b/plugins/Morpheus/javascripts/piwikHelper.js index ca83ba9cb0..3e59e44ef3 100644 --- a/plugins/Morpheus/javascripts/piwikHelper.js +++ b/plugins/Morpheus/javascripts/piwikHelper.js @@ -743,7 +743,11 @@ window.piwikHelper = { } else { return Math.round((dividend / divisor) * 1000) / 1000; } - } + }, + + showVisitorProfilePopup: function (visitorId, idSite) { + require('piwik/UI').VisitorProfileControl.showPopover(visitorId, idSite); + }, }; if (typeof String.prototype.trim !== 'function') { String.prototype.trim = function() { |