From 46295583bcceab6b9c2b620bbd8f8934b9fa2c86 Mon Sep 17 00:00:00 2001 From: Kelvin Muchiri Date: Tue, 26 Nov 2024 15:54:48 +0300 Subject: [PATCH] add comment --- onadata/apps/logger/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/onadata/apps/logger/admin.py b/onadata/apps/logger/admin.py index 2a6528027a..d6268ea8dd 100644 --- a/onadata/apps/logger/admin.py +++ b/onadata/apps/logger/admin.py @@ -65,6 +65,7 @@ def restore_form(self, request, queryset): def get_actions(self, request): actions = super().get_actions(request) if "delete_selected" in actions: + # disable delete_selected action del actions["delete_selected"] return actions