From cf1c5c9256f7d16c2b1a9e619e576da118c8d1be Mon Sep 17 00:00:00 2001 From: Max Chopart Date: Wed, 13 Dec 2023 13:37:15 +0100 Subject: [PATCH] [Upd #18] Added validation for reject and complete buttons --- js/components/record/Record.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/components/record/Record.js b/js/components/record/Record.js index 58217d4c..27c0c973 100644 --- a/js/components/record/Record.js +++ b/js/components/record/Record.js @@ -9,7 +9,7 @@ import HorizontalInput from "../HorizontalInput"; import RecordForm from "./RecordForm"; import RecordProvenance from "./RecordProvenance"; import RequiredAttributes from "./RequiredAttributes"; -import {ACTION_STATUS, ALERT_TYPES, EXTENSION_CONSTANTS, ROLE} from "../../constants/DefaultConstants"; +import {ACTION_STATUS, ALERT_TYPES, EXTENSION_CONSTANTS, RECORD_PHASE, ROLE} from "../../constants/DefaultConstants"; import AlertMessage from "../AlertMessage"; import {LoaderCard, LoaderSmall} from "../Loader"; import {processTypeaheadOptions} from "./TypeaheadAnswer"; @@ -120,7 +120,7 @@ class Record extends React.Component { {EXTENSIONS === EXTENSION_CONSTANTS.SUPPLIER && @@ -128,7 +128,7 @@ class Record extends React.Component { {EXTENSIONS === EXTENSION_CONSTANTS.OPERATOR && }