Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Unités] Fixe plusieurs bugs concernant l'affichage des bases sur la carte #970

Merged
merged 11 commits into from
Nov 17, 2023

Conversation

ivangabriele
Copy link
Contributor

@ivangabriele ivangabriele added the bug Something isn't working label Nov 16, 2023
@ivangabriele ivangabriele force-pushed the ivan/fix-muliple-base-issues branch 2 times, most recently from 67d6240 to 35a137a Compare November 17, 2023 03:45
@ivangabriele ivangabriele marked this pull request as ready for review November 17, 2023 04:22
<NameText>{controlUnit.name}</NameText>
<AdministrationText>{controlUnit.administration.name}</AdministrationText>
<NameText title={controlUnit.administration.name}>{controlUnit.name}</NameText>
<AdministrationText title={controlUnit.administration.name}>{controlUnit.administration.name}</AdministrationText>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pourquoi passer une prop title alors que tu ne t'en sers pas? (NameText et AdministrationText)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si le nom est trop long, il est tronqué via les ellipsis. Le title permet d'afficher le titre en passant la souris dessus.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah mais oui! pardon

@@ -73,7 +73,7 @@ export function ReportingCard({

const closeReportingCard = useCallback(() => {
dispatch(reportingActions.setSelectedReportingIdOnMap(undefined))
dispatch(removeOverlayCoordinatesByName(Layers.REPORTING_SELECTED.code))
dispatch(removeOverlayCoordinatesByName(Layers.REPORTINGS.code))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merci :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^^

@ivangabriele ivangabriele merged commit 13c0fd6 into main Nov 17, 2023
@ivangabriele ivangabriele deleted the ivan/fix-muliple-base-issues branch November 17, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants