Skip to content

Commit

Permalink
Merge pull request #10 from konverto-development/main
Browse files Browse the repository at this point in the history
fix: issue with filters
  • Loading branch information
clezag authored Dec 5, 2024
2 parents b0d5d6f + 01e403d commit 9588ae6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<Header
:sources="sources"
:active-sources="activeSources"
:showSustainabilityActionFilter="props.showSustainabilityActionFilter"
:showOrganizationFilter="props.showOrganizationFilter"
:showSustainabilityActionFilter="
props.showSustainabilityActionFilter === 'true'
"
:showOrganizationFilter="props.showOrganizationFilter === 'true'"
@update-active-sources="handleUpdateActiveSources" />
<SuedtirolRadelt
v-if="showSuedtirolRadelt()"
Expand Down Expand Up @@ -40,13 +42,12 @@ interface Props {
language: string;
fontColor: string;
fontFamily: string;
showSustainabilityActionFilter: boolean;
showOrganizationFilter: boolean;
showSustainabilityActionFilter: string;
showOrganizationFilter: string;
selectedOrganisation?: string;
}

const props = defineProps<Props>();

const sources = [SUEDTIROL_RADELT, UMMADUM, LOCKALL];

const activeSources = ref<string[]>([SUEDTIROL_RADELT]);
Expand Down

0 comments on commit 9588ae6

Please sign in to comment.