From 4ba8a2a37f1f692c42fd7cbfa087a0a0cd24de6b Mon Sep 17 00:00:00 2001 From: Igor Lins e Silva Date: Tue, 7 May 2019 22:59:58 -0300 Subject: [PATCH] v0.8.0 --- src/app/dashboard/referendum/referendum.component.html | 2 +- src/app/dashboard/referendum/referendum.component.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/dashboard/referendum/referendum.component.html b/src/app/dashboard/referendum/referendum.component.html index 7abf1310..1cc8e580 100644 --- a/src/app/dashboard/referendum/referendum.component.html +++ b/src/app/dashboard/referendum/referendum.component.html @@ -184,7 +184,7 @@


- +

diff --git a/src/app/dashboard/referendum/referendum.component.ts b/src/app/dashboard/referendum/referendum.component.ts index cdb94f7e..cda5bb68 100644 --- a/src/app/dashboard/referendum/referendum.component.ts +++ b/src/app/dashboard/referendum/referendum.component.ts @@ -96,6 +96,10 @@ export class ReferendumComponent implements OnInit { }, 200); } + onPageChange(page: number) { + this.page = page; + window.scrollTo(0, 0); + } extOpen(value) { return window['shell']['openExternal'](value);