From 748a6ef1db5bf2178b7ef87f365c328580504fa6 Mon Sep 17 00:00:00 2001 From: Kunal Tiwary Date: Fri, 25 Oct 2024 05:04:18 +0000 Subject: [PATCH] minor_fix in acoustic_enabled_stage --- backend/tasks/views.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/backend/tasks/views.py b/backend/tasks/views.py index 991c4f141..c0514a13e 100644 --- a/backend/tasks/views.py +++ b/backend/tasks/views.py @@ -1801,6 +1801,8 @@ def partial_update(self, request, pk=None): is_acoustic_project_type or is_StandardizedTranscriptionEditing, ( is_acoustic_project_type + and "acoustic_enabled_stage" + in annotation_obj.task.project_id.metadata_json and annotation_obj.task.project_id.metadata_json[ "acoustic_enabled_stage" ] @@ -1863,6 +1865,8 @@ def partial_update(self, request, pk=None): is_acoustic_project_type or is_StandardizedTranscriptionEditing, ( is_acoustic_project_type + and "acoustic_enabled_stage" + in annotation_obj.task.project_id.metadata_json and annotation_obj.task.project_id.metadata_json[ "acoustic_enabled_stage" ] @@ -1942,6 +1946,8 @@ def partial_update(self, request, pk=None): is_acoustic_project_type or is_StandardizedTranscriptionEditing, ( is_acoustic_project_type + and "acoustic_enabled_stage" + in annotation_obj.task.project_id.metadata_json and annotation_obj.task.project_id.metadata_json[ "acoustic_enabled_stage" ] @@ -2043,6 +2049,8 @@ def partial_update(self, request, pk=None): is_acoustic_project_type or is_StandardizedTranscriptionEditing, ( is_acoustic_project_type + and "acoustic_enabled_stage" + in annotation_obj.task.project_id.metadata_json and annotation_obj.task.project_id.metadata_json[ "acoustic_enabled_stage" ] @@ -2152,6 +2160,8 @@ def partial_update(self, request, pk=None): is_acoustic_project_type or is_StandardizedTranscriptionEditing, ( is_acoustic_project_type + and "acoustic_enabled_stage" + in annotation_obj.task.project_id.metadata_json and annotation_obj.task.project_id.metadata_json[ "acoustic_enabled_stage" ] @@ -2244,6 +2254,8 @@ def partial_update(self, request, pk=None): is_acoustic_project_type or is_StandardizedTranscriptionEditing, ( is_acoustic_project_type + and "acoustic_enabled_stage" + in annotation_obj.task.project_id.metadata_json and annotation_obj.task.project_id.metadata_json[ "acoustic_enabled_stage" ]