@afeefa/vue-app 0.0.228 → 0.0.229

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.228
1
+ 0.0.229
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.228",
3
+ "version": "0.0.229",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -38,5 +38,6 @@ export default class ACheckbox extends Vue {
38
38
  <style lang="scss" scoped>
39
39
  .v-input--checkbox {
40
40
  margin: 0;
41
+ padding: 0;
41
42
  }
42
43
  </style>
@@ -46,8 +46,7 @@ import { mdiTextRecognition, mdiHandBackRight } from '@mdi/js'
46
46
 
47
47
  @Component({
48
48
  props: [{
49
- bulkSelection: false,
50
- columns: false
49
+ bulkSelection: false
51
50
  }]
52
51
  })
53
52
  export default class ListConfig extends Vue {
@@ -61,7 +61,7 @@
61
61
  :value="isSelected(model)"
62
62
  hide-details
63
63
  class="pa-0"
64
- @input="selectClient(model)"
64
+ @input="selectModel(model)"
65
65
  />
66
66
  </div>
67
67
 
@@ -210,12 +210,18 @@ export default class ListView extends Mixins(ListViewMixin) {
210
210
  return this.selectedModels.includes(model)
211
211
  }
212
212
 
213
- selectClient (model) {
213
+ selectModel (model) {
214
214
  if (!this.isSelected(model)) {
215
215
  this.selectedModels.push(model)
216
216
  } else {
217
217
  this.selectedModels = this.selectedModels.filter(m => m !== model)
218
218
  }
219
+ this.$emit('update:selectedModels', this.selectedModels)
220
+ }
221
+
222
+ _listLoaded () {
223
+ this.selectedModels = []
224
+ this.$emit('update:selectedModels', this.selectedModels)
219
225
  }
220
226
 
221
227
  @Watch('isLoading')