북마크 모달 연도 선택 오류 수정

cks
강석 최 2023-12-26 11:19:04 +09:00
parent 5efe77b066
commit 07cd513bab
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ const BookmarkModal = ({docCode, docPart, ymd}) => {
let activeIndex = 0;
let docTitle = "";
docInfo.forEach(function (item, index){
if(new Date(item.estb_ymd) <= new Date(ymd)){
if(new Date(item.rvsn_ymd) <= new Date(ymd)){
activeIndex = index;
docTitle = item.doc_nm
}