Explorar el Código

fix bug

master
Anna Ho hace 1 año
padre
commit
20196a8eb8
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js

+ 3
- 1
src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js Ver fichero

@@ -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")
}
};


Cargando…
Cancelar
Guardar