@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
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 1.1.4 - 2023-11-09
11
+
10
12
  ## 1.1.3 - 2023-11-08
11
13
 
12
14
  ## 1.1.2 - 2023-11-07
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "v3plus-common-module",
3
3
  "configKey": "v3plusCommonModule",
4
- "version": "1.1.3"
4
+ "version": "1.1.4"
5
5
  }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {