Make grid JS loadAsyncData() method truly async

not sure what this does but it seems to work, we'll see
This commit is contained in:
Lance Edgar 2023-10-07 20:13:41 -05:00
parent a201072a9d
commit 4beca7af20

View file

@ -484,7 +484,10 @@
...this.getFilterParams()} ...this.getFilterParams()}
}, },
loadAsyncData(params, callback) { ## TODO: i noticed buefy docs show using `async` keyword here,
## so now i am too. knowing nothing at all of if/how this is
## supposed to improve anything. we shall see i guess
async loadAsyncData(params, callback) {
if (params === undefined || params === null) { if (params === undefined || params === null) {
params = new URLSearchParams(this.getBasicParams()) params = new URLSearchParams(this.getBasicParams())