Skip to content

Commit

Permalink
Merge branch 'main' of github.com:MTES-MCT/zero-logement-vacant
Browse files Browse the repository at this point in the history
  • Loading branch information
rcourivaud committed Jan 27, 2025
2 parents d12e74d + 622f877 commit ad53917
Show file tree
Hide file tree
Showing 10 changed files with 94 additions and 146 deletions.
4 changes: 4 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ fileignoreconfig:
checksum: f7719ba0d36160d97e80ee15cb5415b601354576929e36df0596c7d192465cfb
- filename: README.md
checksum: df312ccb4c75fc4c2441a1f7f2c7817ee98ffb3065c78d5d7d6addf6ab129176
- filename: frontend/.env.example
checksum: 7e2a5ff197c49ff9f715b3d189da7282bdb40de53ea49735e9f183ece19168fc
- filename: frontend/src/components/Draft/DraftSender.tsx
checksum: cfcc1023edac4d29c305f00a4bd86f27d491e4e9535bec2bd905a917b3f396b7
- filename: frontend/src/components/Draft/DraftSignature.tsx
checksum: 8abd2b819601d46cc6a3d0a61a60b76391601f2d89d9126f5167b684878bd2d1
- filename: frontend/src/index.tsx
checksum: 25a58ba4ecfb8606daf5efbae6a1f0f2efe4e87a4a8a18e745712b39198d93a5
- filename: frontend/src/utils/config.ts
checksum: 2916d5a89dbd4b6425e9b6980e235007cb0f09a3dd0f2cc8b49f43c0e79d5d5f
- filename: packages/api-sdk/src/test/campaign-api.test.ts
checksum: b200d9e1fec310660a91e99cd048b24cbe983e0f9f965861d061a7f0992af43e
- filename: packages/healthcheck/src/checks/brevo.ts
Expand Down
2 changes: 2 additions & 0 deletions frontend/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
REACT_APP_API_URL=http://localhost:3001
REACT_APP_METABASE_STATS_DASHBOARD=UUID
REACT_APP_FEATURE_OCCUPANCY=ct1,ct2,ct3
REACT_APP_POSTHOG_ENABLED=false
REACT_APP_POSTHOG_API_KEY=key
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ function HousingDetailsCardMobilisation({ housing, campaigns }: Props) {
<LabelNext component="h3">Dernière mise à jour</LabelNext>
<Typography>{lastUpdate(housing)}</Typography>
</Grid>
<Grid xs={6}>
<LabelNext component="h3">Prise de contact</LabelNext>
<Typography>
{campaigns.length === 0
? 'Jamais contacté'
: `Contacté ${campaigns.length} fois`}
</Typography>
</Grid>
<Grid xs={6}>
<LabelNext component="h3">
Dispositifs ({housing.precisions?.length ?? 0})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
beneficiaryCountOptions,
buildingPeriodOptions,
cadastralClassificationOptions,
campaignsCountOptions,
dataFileYearsExcludedOptions,
dataFileYearsIncludedOptions,
energyConsumptionOptions,
Expand Down Expand Up @@ -200,12 +199,6 @@ function HousingFiltersBadges(props: HousingFiltersBadgesProps) {
onChange={(values) => onChange?.({ geoPerimetersExcluded: values })}
/>
)}
<FilterBadges
options={campaignsCountOptions}
values={filters.campaignsCounts}
small={small}
onChange={(values) => onChange?.({ campaignsCounts: values })}
/>
<FilterBadges
options={statusOptions()}
values={filters.statusList?.map(String)}
Expand Down
Loading

0 comments on commit ad53917

Please sign in to comment.