Skip to content

Commit

Permalink
#2475 Introduce Processing Version 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensearle committed Jul 2, 2024
1 parent 8c2df30 commit 98ada80
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/helpers/exerciseHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function getTimelineTasks(exercise, taskType) {
const timeline = createTimeline(exerciseTimeline(exercise));
let timelineTasks = timeline.filter(item => item.taskType && (!taskType || item.taskType === taskType));
let supportedTaskTypes = [];
if (exercise._processingVersion >= 2) {
if (exercise._processingVersion >= 3) {
supportedTaskTypes = [
TASK_TYPE.TELEPHONE_ASSESSMENT,
TASK_TYPE.SIFT,
Expand Down
7 changes: 6 additions & 1 deletion src/views/Exercise/Configuration/ProcessingVersion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@
hint="See operations manual for full details of the different processing versions"
required
>
<RadioItem
:value="3"
label="Processing version 3.0"
hint="Introduced in July 2024, processing version 3.0 includes a number of new tasks"
/>
<RadioItem
:value="2"
label="Processing version 2.0"
hint="Introduced in March 2024, processing version 2.0 updates stages and statuses and includes a number of new tasks"
hint="Introduced in March 2024, processing version 2.0 updates stages and statuses"
/>
<RadioItem
:value="1"
Expand Down
2 changes: 1 addition & 1 deletion src/views/Exercise/Details.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default {
path: `${path}/application-content`,
},
];
if (this.exercise._processingVersion >= 2) {
if (this.exercise._processingVersion >= 3) {
sideNavigation.push({
title: 'Additional settings',
path: `${path}/additional-settings`,
Expand Down

0 comments on commit 98ada80

Please sign in to comment.