Skip to content

Commit

Permalink
add withParentLoading to ScrollableTable
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita-Polyakov committed Mar 5, 2024
1 parent c898450 commit 2aa7f66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/mixins/ScrollableTableMixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ export default class ScrollableTableMixin extends Mixins(
}

async mounted(): Promise<void> {
await this.$nextTick();
this.initScrollbar();
await this.withParentLoading(async () => {
await this.$nextTick();
this.initScrollbar();
});
}

public handlePaginationClick(button: WALLET_CONSTS.PaginationButton): void {
Expand Down

0 comments on commit 2aa7f66

Please sign in to comment.