diff --git a/portlets/src/main/webapp/vue-app/engagement-center-achievements/main.js b/portlets/src/main/webapp/vue-app/engagement-center-achievements/main.js index cd97501c46..3d5980b98e 100644 --- a/portlets/src/main/webapp/vue-app/engagement-center-achievements/main.js +++ b/portlets/src/main/webapp/vue-app/engagement-center-achievements/main.js @@ -49,6 +49,7 @@ export function init(isAdministrator, isProgramManager) { Vue.createApp({ data: { now: Date.now(), + isAnonymous: !eXo.env.portal.userIdentityId?.length, }, computed: { isMobile() { diff --git a/portlets/src/main/webapp/vue-app/engagement-center-actions/main.js b/portlets/src/main/webapp/vue-app/engagement-center-actions/main.js index 0c0f3f391b..6d04cff889 100644 --- a/portlets/src/main/webapp/vue-app/engagement-center-actions/main.js +++ b/portlets/src/main/webapp/vue-app/engagement-center-actions/main.js @@ -49,6 +49,7 @@ export function init(isAdministrator, isProgramManager) { Vue.createApp({ data: { now: Date.now(), + isAnonymous: !eXo.env.portal.userIdentityId?.length, }, computed: { isMobile() { diff --git a/portlets/src/main/webapp/vue-app/engagement-center-programs/main.js b/portlets/src/main/webapp/vue-app/engagement-center-programs/main.js index f41536ad13..7b07f4c390 100644 --- a/portlets/src/main/webapp/vue-app/engagement-center-programs/main.js +++ b/portlets/src/main/webapp/vue-app/engagement-center-programs/main.js @@ -49,6 +49,7 @@ export function init(isAdministrator, isProgramManager) { Vue.createApp({ data: { now: Date.now(), + isAnonymous: !eXo.env.portal.userIdentityId?.length, }, computed: { isMobile() { diff --git a/portlets/src/main/webapp/vue-app/profileStats/main.js b/portlets/src/main/webapp/vue-app/profileStats/main.js index e17d33d99f..7d3a39c7ce 100644 --- a/portlets/src/main/webapp/vue-app/profileStats/main.js +++ b/portlets/src/main/webapp/vue-app/profileStats/main.js @@ -41,9 +41,13 @@ export function init() { Vue.createApp({ data: { isAnonymous: !eXo.env.portal.userIdentityId?.length, + now: Date.now(), actionValueExtensions: [], }, template: ``, + created() { + window.setInterval(() => this.now = Date.now(), 1000); + }, i18n, vuetify, }, appElement, 'Profile Stats'); diff --git a/portlets/src/main/webapp/vue-app/programsOverview/main.js b/portlets/src/main/webapp/vue-app/programsOverview/main.js index 715d718e55..9d1a006d0b 100644 --- a/portlets/src/main/webapp/vue-app/programsOverview/main.js +++ b/portlets/src/main/webapp/vue-app/programsOverview/main.js @@ -29,9 +29,13 @@ export function init() { .then(i18n => { Vue.createApp({ data: { + now: Date.now(), isAnonymous: !eXo.env.portal.userIdentityId?.length, }, template: ``, + created() { + window.setInterval(() => this.now = Date.now(), 1000); + }, i18n, vuetify: Vue.prototype.vuetifyOptions, }, `#${appId}`, 'Program Overview'); diff --git a/portlets/src/main/webapp/vue-app/rules/components/drawers/RuleDetailDrawer.vue b/portlets/src/main/webapp/vue-app/rules/components/drawers/RuleDetailDrawer.vue index b41f6758ee..7a59877d6c 100644 --- a/portlets/src/main/webapp/vue-app/rules/components/drawers/RuleDetailDrawer.vue +++ b/portlets/src/main/webapp/vue-app/rules/components/drawers/RuleDetailDrawer.vue @@ -35,7 +35,7 @@ {{ $t('rule.detail.letsSeeWhatToDo') }} -