@saooti/octopus-sdk 30.0.36 → 30.0.37
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/README.md
CHANGED
package/package.json
CHANGED
|
@@ -122,6 +122,7 @@ export default defineComponent({
|
|
|
122
122
|
methods: {
|
|
123
123
|
async fetchContent(reset=true): Promise<void> {
|
|
124
124
|
this.loading = true;
|
|
125
|
+
this.error = false;
|
|
125
126
|
if(reset){
|
|
126
127
|
this.first = 0;
|
|
127
128
|
}
|
|
@@ -134,7 +135,7 @@ export default defineComponent({
|
|
|
134
135
|
first: this.first,
|
|
135
136
|
size: this.size,
|
|
136
137
|
podcastId: this.podcastId,
|
|
137
|
-
status:this.editRight && this.status?[this.status]:['Valid'],
|
|
138
|
+
status:this.editRight && this.status?[this.status]: this.editRight? ['Valid','Pending', 'Invalid']:['Valid'],
|
|
138
139
|
organisationId: undefined === this.podcastId? this.organisation: undefined,
|
|
139
140
|
};
|
|
140
141
|
if (!this.isFlat) {
|
|
@@ -209,9 +210,9 @@ export default defineComponent({
|
|
|
209
210
|
if (-1 !== indexNewComment) {
|
|
210
211
|
if (!this.status || this.status === data.status) {
|
|
211
212
|
this.comments.splice(indexNewComment, 0, data.comment);
|
|
212
|
-
} else {
|
|
213
|
+
} /* else {
|
|
213
214
|
this.comments.splice(indexNewComment, 1);
|
|
214
|
-
}
|
|
215
|
+
} */
|
|
215
216
|
} else if (!this.status || this.status === data.status) {
|
|
216
217
|
this.comments.push(data.comment);
|
|
217
218
|
}
|