- 
                Notifications
    
You must be signed in to change notification settings  - Fork 6
 
View mode in all DREF forms #2015
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View mode in all DREF forms #2015
Conversation
          
 | 
    
46506d2    to
    a7697fd      
    Compare
  
    3760698    to
    eb36b71      
    Compare
  
    3ba7319    to
    7629847      
    Compare
  
    7629847    to
    814ac9a      
    Compare
  
    | "dropdownActionEditLabel": "Edit", | ||
| "drefApprovalSuccessTitle": "Successfully approved the DREF!", | ||
| "drefApprovalFailureTitle": "Failed to approve the DREF!", | ||
| "drefFinalizeSuccessTitle": "Successfully finalize the DREF!", | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "drefFinalizeSuccessTitle": "Successfully finalize the DREF!", | |
| "drefFinalizeSuccessTitle": "Successfully finalized the DREF!", | 
| } else if (applicationType === 'FINAL_REPORT') { | ||
| finalizeFinalReport(null); | ||
| } else { | ||
| applicationType satisfies never; | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this?
Also, lets add a alert saying failed to finalize if none of the types match.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is handled in useRequest
| )} | ||
| > | ||
| {status === DREF_STATUS_DRAFT && applicationType === 'DREF' && ( | ||
| {(status === DREF_STATUS_DRAFT || status === DREF_STATUS_FINALIZED) && applicationType === 'DREF' && ( | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the person edit after its finalized?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
…ode in all dref forms
ea329ed    to
    0159c59      
    Compare
  
    
Summary
view mode in all dref forms and use finalize api in dref table
Addresses
Depends On
Changes
This PR Ensures:
console.logstatements meant for debugging