Improve mobile notifications view
This commit is contained in:
parent
4277e53433
commit
c3003cb363
9 changed files with 137 additions and 5 deletions
|
|
@ -67,6 +67,7 @@ export default (opts) => ({
|
|||
|
||||
async init() {
|
||||
this.fetching = true;
|
||||
if (opts.beforeInit) opts.beforeInit(this);
|
||||
let params = typeof this.pagination.params === 'function' ? this.pagination.params(true) : this.pagination.params;
|
||||
if (params && params.then) params = await params;
|
||||
await this.$root.api(this.pagination.endpoint, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue