@asd20/ui 3.2.471 → 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
|
@@ -339,9 +339,7 @@ export default {
|
|
|
339
339
|
watch: {
|
|
340
340
|
selectedCategories: function(newVal, oldVal) {
|
|
341
341
|
if (newVal !== oldVal) {
|
|
342
|
-
this.
|
|
343
|
-
this.counter2 === 10
|
|
344
|
-
this.$emit('announcements-in-view')
|
|
342
|
+
this.reset()
|
|
345
343
|
}
|
|
346
344
|
},
|
|
347
345
|
},
|
|
@@ -363,6 +361,11 @@ export default {
|
|
|
363
361
|
this.$emit('announcements-in-view')
|
|
364
362
|
}
|
|
365
363
|
},
|
|
364
|
+
reset() {
|
|
365
|
+
this.counter === 1
|
|
366
|
+
this.counter2 === 10
|
|
367
|
+
this.$emit('announcements-in-view')
|
|
368
|
+
},
|
|
366
369
|
},
|
|
367
370
|
}
|
|
368
371
|
</script>
|
|
@@ -340,9 +340,7 @@ export default {
|
|
|
340
340
|
watch: {
|
|
341
341
|
selectedCategories: function(newVal, oldVal) {
|
|
342
342
|
if (newVal !== oldVal) {
|
|
343
|
-
this.
|
|
344
|
-
this.counter2 === 10
|
|
345
|
-
this.$emit('announcements-in-view')
|
|
343
|
+
this.reset()
|
|
346
344
|
}
|
|
347
345
|
},
|
|
348
346
|
},
|
|
@@ -364,6 +362,11 @@ export default {
|
|
|
364
362
|
this.$emit('announcements-in-view')
|
|
365
363
|
}
|
|
366
364
|
},
|
|
365
|
+
reset() {
|
|
366
|
+
this.counter === 1
|
|
367
|
+
this.counter2 === 10
|
|
368
|
+
this.$emit('announcements-in-view')
|
|
369
|
+
},
|
|
367
370
|
},
|
|
368
371
|
}
|
|
369
372
|
</script>
|