fix: show learning dashboard after session was ended in cluster proxy scenario

Closes: #15821
This commit is contained in:
Daniel Molkentin 2022-10-11 15:48:11 +02:00
parent f62797d72d
commit 6ce3dd39cd

View File

@ -42,7 +42,7 @@ const setLearningDashboardCookie = () => {
const openLearningDashboardUrl = (lang) => {
const APP = Meteor.settings.public.app;
if (getLearningDashboardAccessToken() && setLearningDashboardCookie()) {
window.open(`${APP.learningDashboardBase}/?meeting=${Auth.meetingID}&lang=${lang}`, '_blank');
window.open(`${APP.learningDashboardBase}/?meeting=${Auth.meetingID}&lang=${lang}&report=${getLearningDashboardAccessToken()}`, '_blank');
} else {
window.open(`${APP.learningDashboardBase}/?meeting=${Auth.meetingID}&sessionToken=${Auth.sessionToken}&lang=${lang}`, '_blank');
}