@afeefa/vue-app 0.0.196 → 0.0.197
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.197
|
package/package.json
CHANGED
@@ -92,8 +92,16 @@ export default class ListFilterSearchSelect extends Mixins(ListFilterMixin) {
|
|
92
92
|
[this.filter.name]: this.filter.value
|
93
93
|
})
|
94
94
|
.load()
|
95
|
+
|
95
96
|
if (models.length) {
|
96
|
-
this.
|
97
|
+
if (this.filter.value) {
|
98
|
+
const selectedModel = models.find(m => m.id === this.filter.value)
|
99
|
+
if (selectedModel) {
|
100
|
+
this.inputModel = selectedModel.getTitle()
|
101
|
+
} else {
|
102
|
+
this.inputModel = models[0].getTitle()
|
103
|
+
}
|
104
|
+
}
|
97
105
|
}
|
98
106
|
}
|
99
107
|
}
|