Merge pull request #15822 from danimo/fix/lb-cluster-proxy

fix: show learning dashboard after session was ended in cluster proxy scenario
This commit is contained in:
Ramón Souza 2022-10-24 16:18:02 -03:00 committed by GitHub
commit 47d228c1fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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');
}