@afeefa/vue-app 0.0.229 → 0.0.230
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.230
|
package/package.json
CHANGED
@@ -210,6 +210,11 @@ export default class ListView extends Mixins(ListViewMixin) {
|
|
210
210
|
return this.selectedModels.includes(model)
|
211
211
|
}
|
212
212
|
|
213
|
+
deselectAll () {
|
214
|
+
this.selectedModels = []
|
215
|
+
this.$emit('update:selectedModels', this.selectedModels)
|
216
|
+
}
|
217
|
+
|
213
218
|
selectModel (model) {
|
214
219
|
if (!this.isSelected(model)) {
|
215
220
|
this.selectedModels.push(model)
|
@@ -220,8 +225,7 @@ export default class ListView extends Mixins(ListViewMixin) {
|
|
220
225
|
}
|
221
226
|
|
222
227
|
_listLoaded () {
|
223
|
-
this.
|
224
|
-
this.$emit('update:selectedModels', this.selectedModels)
|
228
|
+
this.deselectAll()
|
225
229
|
}
|
226
230
|
|
227
231
|
@Watch('isLoading')
|