From aea8b42f94ed998f369812b723bc8ebefc64da2c Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 12 Dec 2024 10:01:24 +0300 Subject: [PATCH] Lint fixes --- components/lib/calendar/Calendar.vue | 1 - components/lib/inputnumber/InputNumber.vue | 4 +- components/lib/tree/TreeNode.vue | 2 +- layouts/AppTopBar.vue | 132 ++++++++++++--------- 4 files changed, 78 insertions(+), 61 deletions(-) diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index b8191bef2..40720e580 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -724,7 +724,6 @@ export default { return currentDate >= startDate && currentDate <= endDate; } - } else { return this.modelValue.getMonth() === month && this.modelValue.getFullYear() === this.currentYear; } diff --git a/components/lib/inputnumber/InputNumber.vue b/components/lib/inputnumber/InputNumber.vue index 07e75e157..f832cd345 100755 --- a/components/lib/inputnumber/InputNumber.vue +++ b/components/lib/inputnumber/InputNumber.vue @@ -541,8 +541,8 @@ export default { const isMinusSign = this.isMinusSign(char); if (this.locale === 'fr-FR' && (event.code === 'Comma' || event.code === 'NumpadDecimal') && !isDecimalSign) { - isDecimalSign = true - char = decimalSign + isDecimalSign = true; + char = decimalSign; } if (event.code !== 'Enter') { diff --git a/components/lib/tree/TreeNode.vue b/components/lib/tree/TreeNode.vue index 0196d403f..7f54e0173 100755 --- a/components/lib/tree/TreeNode.vue +++ b/components/lib/tree/TreeNode.vue @@ -144,7 +144,7 @@ export default { if (this.isCheckboxSelectionMode()) { if (this.node.selectable != false) { this.toggleCheckbox(); - } + } } else { this.$emit('node-click', { originalEvent: event, diff --git a/layouts/AppTopBar.vue b/layouts/AppTopBar.vue index c77f4b3ac..157d638e4 100755 --- a/layouts/AppTopBar.vue +++ b/layouts/AppTopBar.vue @@ -4,53 +4,58 @@
+ fill="var(--primary-color)" + /> + fill="var(--text-color)" + />
@@ -60,66 +65,79 @@
  • - +
  • - +
  • - +
  • -
  • -
  • -