From 05c16b49dd98ce35530066b32af8a80e28bc67d5 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Mon, 20 Jan 2025 14:34:33 +0530 Subject: [PATCH] fix: Vite dev build fails due to sass (#10716) # Pull Request Template ## Description Fixes https://linear.app/chatwoot/issue/CW-3853/vite-dev-build-fails-due-to-dart-sass **Other issue** | First Header | Second Header | | ------------- | ------------- | | ![image](https://github.com/user-attachments/assets/e99ac2bc-0b8a-44d1-aa58-9e10e00b5ad5) | ![image](https://github.com/user-attachments/assets/c987f70c-f5f5-4606-a498-00a6fe6b6525) | ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [ ] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --- .../reports/components/Filters/Labels.vue | 15 ++++------ .../reports/components/ReportFilters.vue | 28 ++++++++----------- .../reports/components/ReportsWrapper.vue | 8 +++--- 3 files changed, 22 insertions(+), 29 deletions(-) diff --git a/app/javascript/dashboard/routes/dashboard/settings/reports/components/Filters/Labels.vue b/app/javascript/dashboard/routes/dashboard/settings/reports/components/Filters/Labels.vue index 655e82f7b..68cc4baf2 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/reports/components/Filters/Labels.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/reports/components/Filters/Labels.vue @@ -39,15 +39,13 @@ export default { @update:model-value="handleInput" > @@ -57,10 +55,9 @@ export default { :style="{ backgroundColor: props.option.color }" class="flex-shrink-0 w-5 h-5 border border-solid rounded-full border-slate-100 dark:border-slate-800" /> - - - {{ props.option.title }} - + + + {{ props.option.title }} diff --git a/app/javascript/dashboard/routes/dashboard/settings/reports/components/ReportFilters.vue b/app/javascript/dashboard/routes/dashboard/settings/reports/components/ReportFilters.vue index b41851180..053ae7cd7 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/reports/components/ReportFilters.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/reports/components/ReportFilters.vue @@ -179,18 +179,16 @@ export default { @update:model-value="changeFilterSelection" >