@afeefa/vue-app 0.0.217 → 0.0.219

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.217
1
+ 0.0.219
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.217",
3
+ "version": "0.0.219",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -97,6 +97,11 @@ export class ListViewMixin extends Vue {
97
97
  this.meta_ = this.meta
98
98
  }
99
99
 
100
+ @Watch('listAction')
101
+ listActionChanged () {
102
+ this.init()
103
+ }
104
+
100
105
  _filtersInitialized () {
101
106
  }
102
107
 
@@ -56,13 +56,15 @@ export default class ListFilterSelect extends Mixins(ListFilterMixin) {
56
56
  itemTitle: (this.itemTitle && this.itemTitle(model)) || model.name || model.title,
57
57
  itemValue
58
58
  }
59
- })
59
+ }),
60
+ ...this.getOptions(true)
60
61
  ]
61
62
  }
62
63
 
63
- getOptions () {
64
+ getOptions (prepend = false) {
64
65
  return [
65
66
  ...this.filter.options
67
+ .filter(o => !!o.prepend === prepend)
66
68
  .map(o => {
67
69
  return {
68
70
  itemTitle: o.title,