diff --git a/frontend/src/__apps/painel/main.js b/frontend/src/__apps/painel/main.js index 6c7d53b5d..9b647b582 100644 --- a/frontend/src/__apps/painel/main.js +++ b/frontend/src/__apps/painel/main.js @@ -18,7 +18,8 @@ const v = new Vue({ // eslint-disable-line sessao_plenaria_hora_inicio: '', brasao: '', sessao_solene: false, - sessao_solene_tema: '' + sessao_solene_tema: '', + presentes:[] } }, methods: { @@ -32,6 +33,7 @@ const v = new Vue({ // eslint-disable-line this.sessao_plenaria_hora_inicio = 'Hora InĂcio: ' + response.sessao_plenaria_hora_inicio this.sessao_solene = response.sessao_solene this.sessao_solene_tema = response.sessao_solene_tema + this.presentes = response.presentes }.bind(this)) }, pollData () { @@ -40,7 +42,7 @@ const v = new Vue({ // eslint-disable-line this.polling = setInterval(() => { console.info('Fetching data from backend') this.fetchData() - }, 5000) + }, 500) } }, beforeDestroy () { diff --git a/sapl/templates/painel/index.html b/sapl/templates/painel/index.html index c02ba9bae..f86e54ca0 100644 --- a/sapl/templates/painel/index.html +++ b/sapl/templates/painel/index.html @@ -71,7 +71,25 @@
Parlamentar | +Partido | +Ativo? | +
---|---|---|
+ [[ parlamentar.nome]] + | ++ [[ parlamentar.partido ]] + | +