@asd20/ui 3.2.470 → 3.2.472
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
|
@@ -336,6 +336,13 @@ export default {
|
|
|
336
336
|
return this.categoryOptions
|
|
337
337
|
},
|
|
338
338
|
},
|
|
339
|
+
watch: {
|
|
340
|
+
selectedCategories: function(newVal, oldVal) {
|
|
341
|
+
if (newVal !== oldVal) {
|
|
342
|
+
this.reset()
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
},
|
|
339
346
|
methods: {
|
|
340
347
|
nextSet() {
|
|
341
348
|
if (
|
|
@@ -354,6 +361,11 @@ export default {
|
|
|
354
361
|
this.$emit('announcements-in-view')
|
|
355
362
|
}
|
|
356
363
|
},
|
|
364
|
+
reset() {
|
|
365
|
+
this.counter === 1
|
|
366
|
+
this.counter2 === 10
|
|
367
|
+
this.$emit('announcements-in-view')
|
|
368
|
+
},
|
|
357
369
|
},
|
|
358
370
|
}
|
|
359
371
|
</script>
|
|
@@ -337,6 +337,13 @@ export default {
|
|
|
337
337
|
]
|
|
338
338
|
},
|
|
339
339
|
},
|
|
340
|
+
watch: {
|
|
341
|
+
selectedCategories: function(newVal, oldVal) {
|
|
342
|
+
if (newVal !== oldVal) {
|
|
343
|
+
this.reset()
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
},
|
|
340
347
|
methods: {
|
|
341
348
|
nextSet() {
|
|
342
349
|
if (
|
|
@@ -355,6 +362,11 @@ export default {
|
|
|
355
362
|
this.$emit('announcements-in-view')
|
|
356
363
|
}
|
|
357
364
|
},
|
|
365
|
+
reset() {
|
|
366
|
+
this.counter === 1
|
|
367
|
+
this.counter2 === 10
|
|
368
|
+
this.$emit('announcements-in-view')
|
|
369
|
+
},
|
|
358
370
|
},
|
|
359
371
|
}
|
|
360
372
|
</script>
|