Skip to content

Commit

Permalink
resolved PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlovesgithub committed Jun 4, 2020
1 parent 95c6534 commit 3169bed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/Exercises/Stages/RecommendedEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
</template>

<script>
import { APPLICATION_STATUS } from '@/helpers/constants';
import Banner from '@/components/Page/Banner';
import Form from '@/components/Form/Form';
import ErrorSummary from '@/components/Form/ErrorSummary';
Expand Down Expand Up @@ -88,7 +89,7 @@ export default {
this.showWarning = false;
},
async save() {
if (this.itemsWithIssues() && this.newSelectedStatus === 'approvedForImmediateAppointment'){
if (this.itemsWithIssues() && this.newSelectedStatus === APPLICATION_STATUS.APPROVED_FOR_IMMEDIATE_APPOINTMENT){
this.showWarning = true;
} else {
await this.$store.dispatch('stageRecommended/updateStatus', { status: this.newSelectedStatus });
Expand Down

0 comments on commit 3169bed

Please sign in to comment.