@saooti/octopus-sdk 40.1.2 → 40.1.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": "40.1.2",
3
+ "version": "40.1.3",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -21,6 +21,7 @@
21
21
  v-model:nb-comments="nbComments"
22
22
  :class="inStudio? 'mt-2':'mt-5'"
23
23
  :podcast="podcast"
24
+ :isFlatList="inStudio"
24
25
  :reload="reload"
25
26
  :config="configPodcast"
26
27
  :event-to-handle="eventToHandle"
@@ -55,6 +56,7 @@ export default defineComponent({
55
56
  inStudio: { default: false, type: Boolean },
56
57
  stateFilter: { default: "", type: String },
57
58
  },
59
+ emits:['commentReceived'],
58
60
  data() {
59
61
  return {
60
62
  reload: false as boolean,
@@ -91,10 +93,12 @@ export default defineComponent({
91
93
  if (
92
94
  !this.commentEventToHandle.length ||
93
95
  this.commentPodcastId !== this.podcast?.podcastId
94
- )
96
+ ){
95
97
  return;
98
+ }
96
99
  this.eventToHandle = this.commentEventToHandle[0];
97
100
  this.commentEventHandled();
101
+ this.$emit('commentReceived');
98
102
  },
99
103
  },
100
104
  },
@@ -137,6 +137,9 @@ export default defineComponent({
137
137
  justify-content: space-between;
138
138
  padding: 0.5rem;
139
139
  flex-grow: 1;
140
+ @media (width <= 550px) {
141
+ padding:0;
142
+ }
140
143
  }
141
144
  }
142
145
  }