Skip to content

Commit

Permalink
Corrige apontamentos da ester - #257
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgimenez committed Dec 11, 2023
1 parent d2474ac commit 774475c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<YearlyDeforestationEvolutionDeter :activeField.sync="activeField" :date="date" :filters="filters"
:unit.sync="unit" :updated="updated" />
<YearlyDeforestationEvolutionProdes :activeField.sync="activeField" :filters="filters" :unit.sync="unit"
:year="year" />
:year="Number(year)" />
</div>

<div class="dashboard__news" v-else-if="view === 'news'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ export default {
},
computed: {
label() {
if (this.value === '' || typeof this.value != 'string') {
if (this.value === '' || (typeof this.value != 'string' && typeof this.value != 'number')) {
console.log('aqui', this.value, typeof this.value )
return this.title
}
console.log(this.value);
Expand Down

0 comments on commit 774475c

Please sign in to comment.