Skip to content
Snippets Groups Projects
Commit f5decce1 authored by vimal1083's avatar vimal1083 Committed by sks444
Browse files

Update Add Determination

parent 1286cc27
No related branches found
No related tags found
No related merge requests found
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/gulpfile.js"
}
]
}
\ No newline at end of file
...@@ -37,7 +37,7 @@ class DeterminationContainer extends React.PureComponent { ...@@ -37,7 +37,7 @@ class DeterminationContainer extends React.PureComponent {
{this.props.determinationDraftStatus && {this.props.determinationDraftStatus &&
<div className="status-actions"><button onClick = {() => this.props.toggleDeterminationForm(true)} className="button button--primary button--half-width">Update draft</button></div>} <div className="status-actions"><button onClick = {() => this.props.toggleDeterminationForm(true)} className="button button--primary button--half-width">Update draft</button></div>}
{!this.props.determinationDraftStatus && {!this.props.determinationDraftStatus &&
this.props.submission.actions.some(action => action.display.includes("Determination")) && <div className="status-actions"><button onClick = {() => this.props.toggleDeterminationForm(true)} className="button button--primary button--full-width">Add determination</button></div>} this.props.submission.actionButtons.addDetermination && <div className="status-actions"><button onClick = {() => this.props.toggleDeterminationForm(true)} className="button button--primary button--full-width">Add determination</button></div>}
</SidebarBlock> </SidebarBlock>
: null : null
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment