From 31ef0e23551f5f501fa01f6a066fd041d7cb471f Mon Sep 17 00:00:00 2001 From: JC Quirin Date: Fri, 1 May 2020 14:40:48 -0700 Subject: [PATCH 1/2] Updated copy in label for LIT_SUPPORT_PULAC_CERULLO task action --- client/constants/TASK_ACTIONS.json | 2 +- client/test/karma/queue/mtv/sample.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/constants/TASK_ACTIONS.json b/client/constants/TASK_ACTIONS.json index d198a00cf02..3776986fa30 100644 --- a/client/constants/TASK_ACTIONS.json +++ b/client/constants/TASK_ACTIONS.json @@ -142,7 +142,7 @@ "func": "return_to_attorney_data" }, "LIT_SUPPORT_PULAC_CERULLO": { - "label": "Notify Pulac Cerullo team of CAVC Jurisdictional Conflict", + "label": "Notify Litigation Support of Possible Conflict of Jurisdiction", "value": "modal/assign_to_pulac_cerullo", "func": "assign_to_pulac_cerullo_data" }, diff --git a/client/test/karma/queue/mtv/sample.js b/client/test/karma/queue/mtv/sample.js index 68d9046ff65..f17c87ed1bc 100644 --- a/client/test/karma/queue/mtv/sample.js +++ b/client/test/karma/queue/mtv/sample.js @@ -199,7 +199,7 @@ export const tasks = [ } }, { - label: 'Notify Pulac Cerullo team of CAVC Jurisdictional Conflict', + label: 'Notify Litigation Support of Possible Conflict of Jurisdiction', value: 'modal/assign_to_pulac_cerullo', func: 'assign_to_pulac_cerullo_data', data: { From 64c9cd9acca1011408fdb9c1cbdf36c930263d8a Mon Sep 17 00:00:00 2001 From: JC Quirin Date: Fri, 1 May 2020 15:34:27 -0700 Subject: [PATCH 2/2] Updated the url used for the Notify Lit Support modal (removes mention of Pulac Cerullo in URL) --- app/repositories/task_action_repository.rb | 2 +- client/constants/TASK_ACTIONS.json | 4 ++-- client/test/karma/queue/mtv/sample.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/repositories/task_action_repository.rb b/app/repositories/task_action_repository.rb index b4fd7bb1968..141558f3c3f 100644 --- a/app/repositories/task_action_repository.rb +++ b/app/repositories/task_action_repository.rb @@ -293,7 +293,7 @@ def add_schedule_hearing_task_admin_actions_data(task, _user) } end - def assign_to_pulac_cerullo_data(_task, _user) + def flag_conflict_of_jurisdiction_data(_task, _user) org = PulacCerullo.singleton { selected: org, diff --git a/client/constants/TASK_ACTIONS.json b/client/constants/TASK_ACTIONS.json index 3776986fa30..d46ae332782 100644 --- a/client/constants/TASK_ACTIONS.json +++ b/client/constants/TASK_ACTIONS.json @@ -143,8 +143,8 @@ }, "LIT_SUPPORT_PULAC_CERULLO": { "label": "Notify Litigation Support of Possible Conflict of Jurisdiction", - "value": "modal/assign_to_pulac_cerullo", - "func": "assign_to_pulac_cerullo_data" + "value": "modal/flag_conflict_of_jurisdiction", + "func": "flag_conflict_of_jurisdiction_data" }, "MARK_COMPLETE": { "label": "Mark task complete", diff --git a/client/test/karma/queue/mtv/sample.js b/client/test/karma/queue/mtv/sample.js index f17c87ed1bc..1e434a3d3ca 100644 --- a/client/test/karma/queue/mtv/sample.js +++ b/client/test/karma/queue/mtv/sample.js @@ -200,8 +200,8 @@ export const tasks = [ }, { label: 'Notify Litigation Support of Possible Conflict of Jurisdiction', - value: 'modal/assign_to_pulac_cerullo', - func: 'assign_to_pulac_cerullo_data', + value: 'modal/flag_conflict_of_jurisdiction', + func: 'flag_conflict_of_jurisdiction_data', data: { selected: { id: 6,