Fix results delay and add nicer icons

This commit is contained in:
2022-08-27 17:31:39 +01:00
parent ba41a0b26b
commit 65140f70ac
4 changed files with 45 additions and 35 deletions

View File

@@ -369,7 +369,7 @@ class DrilldownContextModal(APIView):
return render(request, self.template_name, results)
if settings.HASHING: # we probably want to see the tokens
if not request.user.has_perm("bypass_hashing"):
if not request.user.has_perm("core.bypass_hashing"):
for index, item in enumerate(results["object_list"]):
if "tokens" in item:
results["object_list"][index]["msg"] = results["object_list"][