Skip to content

Commit f9847e5

Browse files
committed
refactor: simplify anonymization logic
- Remove admin check from anonymization condition in JobLive
1 parent a91e93a commit f9847e5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/algora_web/live/org/job_live.ex

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,7 @@ defmodule AlgoraWeb.Org.JobLive do
289289
job={@job}
290290
contributions={Map.get(@contributions_map, match.user.id, [])}
291291
contract_type="bring_your_own"
292-
anonymized={
293-
@current_org.hiring_subscription != :active and
294-
not (@current_user && @current_user.is_admin)
295-
}
292+
anonymized={@current_org.hiring_subscription != :active}
296293
heatmap_data={Map.get(@heatmaps_map, match.user.id)}
297294
/>
298295
</div>

0 commit comments

Comments
 (0)