From 774475c9086e698a0e58692b3f52854fde753175 Mon Sep 17 00:00:00 2001 From: Matheus Gimenez Date: Mon, 11 Dec 2023 15:03:46 -0300 Subject: [PATCH] Corrige apontamentos da ester - #257 --- .../assets/.src/js/front/dashboard/components/Dashboard.vue | 2 +- .../assets/.src/js/front/dashboard/components/Dropdown.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/plenamata-plugin/assets/.src/js/front/dashboard/components/Dashboard.vue b/plugins/plenamata-plugin/assets/.src/js/front/dashboard/components/Dashboard.vue index 3f56371..6fbe6b8 100644 --- a/plugins/plenamata-plugin/assets/.src/js/front/dashboard/components/Dashboard.vue +++ b/plugins/plenamata-plugin/assets/.src/js/front/dashboard/components/Dashboard.vue @@ -103,7 +103,7 @@ + :year="Number(year)" />
diff --git a/plugins/plenamata-plugin/assets/.src/js/front/dashboard/components/Dropdown.vue b/plugins/plenamata-plugin/assets/.src/js/front/dashboard/components/Dropdown.vue index 7664ccf..de357b9 100755 --- a/plugins/plenamata-plugin/assets/.src/js/front/dashboard/components/Dropdown.vue +++ b/plugins/plenamata-plugin/assets/.src/js/front/dashboard/components/Dropdown.vue @@ -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);