From 84f1c820fb29f971bcb222b1c0deaa8def30b8d4 Mon Sep 17 00:00:00 2001 From: eribeiro Date: Tue, 25 Aug 2020 16:15:03 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20Port=20de=20mudan=C3=A7a=20no=20repo?= =?UTF-8?q?=20sapl-frontend?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl-frontend/src/__apps/parlamentar/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl-frontend/src/__apps/parlamentar/main.js b/sapl-frontend/src/__apps/parlamentar/main.js index 8da12b65d..194a23768 100644 --- a/sapl-frontend/src/__apps/parlamentar/main.js +++ b/sapl-frontend/src/__apps/parlamentar/main.js @@ -37,7 +37,7 @@ const v = new Vue({ // eslint-disable-line methods: { getParlamentares (event) { - if (this.legislatura_selecionada) { + if (this.legislatura_selecionada || this.legislatura_selecionada.toString() === '0') { axios.get('/api/parlamentares/parlamentar/' + this.legislatura_selecionada + '/parlamentares_by_legislatura/') .then(response => { this.parlamentares = response.data