@icvdeveloper/common-module 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/dist/module.json
CHANGED
|
@@ -58,14 +58,14 @@ export const useConferenceHelpers = (conference) => {
|
|
|
58
58
|
const _selectedConference = _getSelectedConference(_conference);
|
|
59
59
|
return _selectedConference.access && _selectedConference.state !== "archive" && _selectedConference.state !== "hidden";
|
|
60
60
|
};
|
|
61
|
-
const getConferenceWebcastUrl = (_conference) => {
|
|
61
|
+
const getConferenceWebcastUrl = (_conference, skipAgenda) => {
|
|
62
62
|
const _selectedConference = _getSelectedConference(_conference);
|
|
63
63
|
if (_selectedConference.state === "upcoming") {
|
|
64
64
|
return "/stream-test";
|
|
65
65
|
}
|
|
66
66
|
const channel = get(_selectedConference, "days[0].tracks[0].channel", 1);
|
|
67
67
|
const eventPathPrefix = config.public.eventPathPrefix;
|
|
68
|
-
return _selectedConference.agenda_enabled ? `/agenda/${_selectedConference.id}` : eventPathPrefix ? `${eventPathPrefix}${_selectedConference.id}/webcast/${channel}` : `/upcoming-events/${_selectedConference.id}/webcast/${channel}`;
|
|
68
|
+
return _selectedConference.agenda_enabled && skipAgenda !== true ? `/agenda/${_selectedConference.id}` : eventPathPrefix ? `${eventPathPrefix}${_selectedConference.id}/webcast/${channel}` : `/upcoming-events/${_selectedConference.id}/webcast/${channel}`;
|
|
69
69
|
};
|
|
70
70
|
const getConferenceWebcastButtonText = (_conference) => {
|
|
71
71
|
const _selectedConference = _getSelectedConference(_conference);
|
|
@@ -23,7 +23,7 @@ export const useUcc = () => {
|
|
|
23
23
|
state: conference.state,
|
|
24
24
|
brandCode
|
|
25
25
|
};
|
|
26
|
-
window.uccMixin.webcastUrl = getConferenceWebcastUrl(conference);
|
|
26
|
+
window.uccMixin.webcastUrl = getConferenceWebcastUrl(conference, true);
|
|
27
27
|
window.uccMixin.loginV3 = loginV3;
|
|
28
28
|
window.uccMixin.postAuthRedirect = postAuthRedirect;
|
|
29
29
|
window.uccMixin.uccShowEventSignUp = uccShowEventSignUp;
|