콘텐츠 메인 인기 콘텐츠 - 타입을 바꾸면 데이터가 삭제 되고 바뀐 타입의 데이터 만 나오도록 수정
This commit is contained in:
		| @@ -84,6 +84,7 @@ final class ContentMainRankingViewModel: ObservableObject { | ||||
|                      | ||||
|                     if let data = decoded.data, decoded.success { | ||||
|                         dateString = "\(data.startDate)~\(data.endDate)" | ||||
|                         self.contentRankingItemList.removeAll() | ||||
|                         self.contentRankingItemList.append(contentsOf: data.items) | ||||
|                     } else { | ||||
|                         if let message = decoded.message { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung