@saooti/octopus-sdk 39.2.1 → 39.2.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "39.2.1",
3
+ "version": "39.2.3",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -139,7 +139,7 @@ export default defineComponent({
139
139
  condition: this.getCanReportAbuse(
140
140
  this.config,
141
141
  undefined !== this.authOrgaId,
142
- ),
142
+ ) && !this.isMyComment,
143
143
  },
144
144
  {
145
145
  title: this.$t("Managing reported abuses"),
@@ -111,14 +111,13 @@ export default defineComponent({
111
111
  routerLinkSecondArray() {
112
112
  let links = [];
113
113
  if (!this.isGarRole) {
114
- links.push({ title: this.$t("Contact"), routeName: "/main/pub/contact" },{
115
- title: this.$t("Used libraries"),
116
- routeName: "/main/pub/libraries",
117
- });
114
+ links.push(
115
+ { title: this.$t("Contact"), routeName: "/main/pub/contact" },
116
+ { title: this.$t("Used libraries"), routeName: "/main/pub/libraries"},
117
+ { title: this.$t("Term of use"), routeName: "/main/pub/cgu" });
118
118
  }
119
119
  links.push(
120
120
  { title: this.$t("Site map"), routeName: "/main/pub/map" },
121
- { title: this.$t("Term of use"), routeName: "/main/pub/cgu" },
122
121
  );
123
122
  return links;
124
123
  },
@@ -7,7 +7,7 @@
7
7
  />
8
8
  <div class="video-wrapper">
9
9
  <PlayerVideoDigiteka v-if="!playerLive" :video-id="videoId" />
10
- <PlayerVideoHls v-else :hls-url="hlsUrl" />
10
+ <PlayerVideoHls v-else :hls-url="hlsVideoUrl" />
11
11
  </div>
12
12
  </template>
13
13
  </teleport>
@@ -36,7 +36,7 @@ export default defineComponent({
36
36
  computed: {
37
37
  ...mapState(useApiStore, ["hlsUrl"]),
38
38
  ...mapState(usePlayerStore, ["playerVideo", "playerLive", "playerPodcast"]),
39
- hlsUrl(): string {
39
+ hlsVideoUrl(): string {
40
40
  if (!this.playerLive) {
41
41
  return "";
42
42
  }
@@ -140,14 +140,14 @@ export default defineComponent({
140
140
  ];
141
141
  },
142
142
  footerLinks() {
143
- if (this.isPodcastmaker) {
143
+ if (this.isPodcastmaker || this.isGarRole) {
144
144
  return [];
145
145
  }
146
146
  return [
147
147
  {
148
148
  title: this.$t("Contact"),
149
149
  href: "/main/pub/contact",
150
- condition: !this.isGarRole,
150
+ condition: true,
151
151
  },
152
152
  {
153
153
  title: this.$t("Term of use"),
@@ -157,7 +157,7 @@ export default defineComponent({
157
157
  {
158
158
  title: this.$t("Used libraries"),
159
159
  href: "/main/pub/libraries",
160
- condition: !this.isGarRole,
160
+ condition: true,
161
161
  },
162
162
  ];
163
163
  },
@@ -19,7 +19,7 @@
19
19
  <template v-if="isLiveReadyToRecord">
20
20
  <PlayerVideoHls
21
21
  v-if="recordingLive"
22
- :hls-url="hlsUrl"
22
+ :hls-url="hlsVideoUrl"
23
23
  :responsive="true"
24
24
  />
25
25
  <div
@@ -182,7 +182,7 @@ export default defineComponent({
182
182
  "PENDING" === this.podcastConference.status)
183
183
  );
184
184
  },
185
- hlsUrl(): string {
185
+ hlsVideoUrl(): string {
186
186
  if (!this.recordingLive || !this.podcastConference) {
187
187
  return "";
188
188
  }