Skip to content

Commit

Permalink
feat(lists): Add List filter to worksites
Browse files Browse the repository at this point in the history
  • Loading branch information
tabiodun committed Feb 5, 2024
1 parent 5844366 commit b08710b
Show file tree
Hide file tree
Showing 19 changed files with 418 additions and 112 deletions.
30 changes: 0 additions & 30 deletions src/components/work/WorksiteActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -500,36 +500,6 @@
</v-menu>
</template>
</v-popover>
<base-button
class="text-base font-thin mx-2"
data-testid="testWorksiteFiltersButton"
ccu-icon="filters"
icon-size="medium"
icon-classes="w-4"
:alt="$t('casesVue.filters')"
:action="
() => {
showingFilters = true;
}
"
>
{{ $t('casesVue.filters') }}
<span
v-if="filtersCount > 0"
class="rounded-full mx-2 px-1 bg-yellow-500 text-xs"
>{{ filtersCount }}</span
>
</base-button>
<WorksiteFilters
ref="worksiteFilter"
:show="showingFilters"
:current-filters="initalFilters"
:incident="currentIncident"
:locations="organizationLocations"
@closed-filters="showingFilters = false"
@updated-filters="handleFilters"
@update-filters-count="filtersCount = $event"
/>
<base-button
class="text-base font-thin mx-2"
data-testid="testDownloadCsvButton"
Expand Down
Loading

0 comments on commit b08710b

Please sign in to comment.