changes
This commit is contained in:
@@ -298,9 +298,9 @@ export default {
|
||||
this.timer = setTimeout(() => this.startSearch(e.target.value), 150);
|
||||
},
|
||||
async startSearch(value) {
|
||||
let filter = { user: this.login.id };
|
||||
const filter = { user: this.login.id };
|
||||
if (!this.$empty(value)) filter.name__icontains = value.toLowerCase();
|
||||
this.data = await this.$getdata("file", filter);
|
||||
this.data = await this.$getdata("file", { filter });
|
||||
},
|
||||
displayInput() {
|
||||
this.showUrl = true;
|
||||
|
||||
Reference in New Issue
Block a user