@saooti/octopus-sdk 37.0.53 → 37.0.55
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
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
v-if="
|
|
3
|
+
v-if="displayLiveList"
|
|
4
4
|
class="d-flex flex-column align-items-start mt-3"
|
|
5
5
|
>
|
|
6
6
|
<div
|
|
@@ -73,6 +73,7 @@ export default defineComponent({
|
|
|
73
73
|
|
|
74
74
|
props: {
|
|
75
75
|
organisationId: { default: undefined, type: String },
|
|
76
|
+
hideIfEmpty: { default: false, type: Boolean },
|
|
76
77
|
},
|
|
77
78
|
data() {
|
|
78
79
|
return {
|
|
@@ -89,6 +90,10 @@ export default defineComponent({
|
|
|
89
90
|
computed: {
|
|
90
91
|
...mapState(useFilterStore, ["filterOrgaId"]),
|
|
91
92
|
...mapState(useAuthStore, ["authOrganisation"]),
|
|
93
|
+
displayLiveList(): boolean{
|
|
94
|
+
return (undefined!==this.filterOrgaId || undefined!==this.organisationId) &&
|
|
95
|
+
(!this.hideIfEmpty || (this.hideIfEmpty && 0!==this.lives.length) ) ;
|
|
96
|
+
},
|
|
92
97
|
filterOrgaUsed(): string | undefined {
|
|
93
98
|
return this.filterOrgaId ? this.filterOrgaId : this.organisationId;
|
|
94
99
|
},
|
|
@@ -153,7 +153,7 @@ export default defineComponent({
|
|
|
153
153
|
computed: {
|
|
154
154
|
...mapState(useAuthStore, ["authOrganisation"]),
|
|
155
155
|
displayWaveParam(): boolean {
|
|
156
|
-
return
|
|
156
|
+
return 'default'===this.iFrameModel || 'emission'===this.iFrameModel;
|
|
157
157
|
},
|
|
158
158
|
displayArticleParam(): boolean {
|
|
159
159
|
return (
|