Browse Source

fix bug

master
Anna Ho 1 year ago
parent
commit
20196a8eb8
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js

+ 3
- 1
src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js View File

@@ -102,7 +102,9 @@ const ApplicationDetailCard = (
const complatedClick = () => () => {
let issueDate = DateUtils.convertToDate(applicationDetailData.gazetteIssueDetail.issueDate);
let current = new Date();
if(current.getTime() >= issueDate.getTime()){
if(delBugMode){
setStatus("complete")
}else if(current.getTime() >= issueDate.getTime()){
setStatus("complete")
}
};


Loading…
Cancel
Save