Skip to content

Commit

Permalink
Merge pull request #686 from CrisisCleanup/tobi-develop
Browse files Browse the repository at this point in the history
feat(lists): Add List filter to worksites
  • Loading branch information
tabiodun authored Feb 7, 2024
2 parents 5844366 + b08710b commit a7824ed
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 a7824ed

Please sign in to comment.