lucyparsons / OpenOversight

Police oversight and accountability through public data 👮
https://openoversight.com
GNU General Public License v3.0
237 stars 79 forks source link

Fix issue where carousel controls were no longer showing up #1090

Closed sea-kelp closed 7 months ago

sea-kelp commented 7 months ago

Description of Changes

Copied over from https://github.com/OrcaCollective/OpenOversight/pull/409

The carousel controls are not showing up.

This was caused by a commit that changed paths to face_paths https://github.com/lucyparsons/OpenOversight/pull/1070/files#diff-cb0d1be5137549bba7d2d657912ea708497d8a757e0623cb76d9d5557fe484e5

But the line controlling whether we show carousel controls is still using paths. https://github.com/OrcaCollective/OpenOversight/blob/7bf658c8d431d2db12154ba5c90017d46f19cf14/OpenOversight/app/templates/partials/officer_faces.html#L21

This commit fixes this issue.

Notes for Deployment

N/A

Screenshots (if appropriate)

Tests and Linting