Skip to content

Commit

Permalink
fix: cannot add dashboard filter
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Jan 12, 2024
1 parent 569e91c commit a15c381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/dashboard/SimpleFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@ function isValueSelected(value) {
</span>
<div class="flex flex-shrink-0 items-center gap-1">
<component
:is="fieldtypesToIcon[filter.column.type]"
:is="fieldtypesToIcon[filter.column?.type || 'String']"
class="h-4 w-4 flex-shrink-0 text-gray-600"
/>
<span class="truncate">{{ filter.column.label }}</span>
<span class="truncate">{{ filter.column?.label }}</span>
</div>
<span v-if="filter.operator" class="flex-shrink-0 text-green-700">
{{ operatorLabel }}
Expand Down

0 comments on commit a15c381

Please sign in to comment.