@afeefa/vue-app 0.0.229 → 0.0.230
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.
@@ -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')
|