1
0
Fork 0
mirror of synced 2024-07-24 13:30:24 -04:00

Merge pull request #34 from CheyenneForbes/patch-1

Ensure `rows` is set to an array
This commit is contained in:
Ilya Sosnovsky 2021-10-05 15:07:15 +03:00 committed by GitHub
commit 2012f07135
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,7 +298,7 @@ new Vue({
var _this = this;
axios.request(axios_cfg('api/users/list'))
.then(function(response) {
_this.rows = response.data;
_this.rows = Array.isArray(response.data) ? response.data : [];
});
},