Skip to content

Commit abef865

Browse files
committed
feat: deanon matches if current user is admin
1 parent 277758f commit abef865

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/algora_web/live/org/job_live.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,10 @@ 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={@current_org.hiring_subscription != :active}
292+
anonymized={
293+
@current_org.hiring_subscription != :active and
294+
not (@current_user && @current_user.is_admin)
295+
}
293296
heatmap_data={Map.get(@heatmaps_map, match.user.id)}
294297
/>
295298
</div>

0 commit comments

Comments
 (0)