Fix broken preference

This commit is contained in:
James Cole 2021-03-26 06:31:25 +01:00
parent bcd612d42f
commit fbed65d464
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
4 changed files with 5 additions and 5 deletions

View File

@ -173,7 +173,7 @@ export default {
ready: false, ready: false,
fields: [], fields: [],
currentPage: 1, currentPage: 1,
perPage: 5, perPage: 50,
total: 0 total: 0
} }
}, },
@ -205,6 +205,7 @@ export default {
let params = new URLSearchParams(window.location.search); let params = new URLSearchParams(window.location.search);
this.currentPage = params.get('page') ? parseInt(params.get('page')) : 1; this.currentPage = params.get('page') ? parseInt(params.get('page')) : 1;
// per page: // per page:
//this.perPage = this.get //this.perPage = this.get
@ -255,6 +256,7 @@ export default {
methods: { methods: {
getAccountList: function () { getAccountList: function () {
this.perPage = this.listPageSize;
this.accounts = []; this.accounts = [];
// needs to be async so call itself again: // needs to be async so call itself again:
this.downloadAccountList(1); this.downloadAccountList(1);

View File

@ -21,8 +21,6 @@
const mix = require('laravel-mix'); const mix = require('laravel-mix');
require('laravel-mix-bundle-analyzer'); require('laravel-mix-bundle-analyzer');
// production // production
mix.webpackConfig({ mix.webpackConfig({
resolve: { resolve: {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long