릴리스: v1.4.21 프런트 topic 응답 소비 정리
This commit is contained in:
@@ -53,11 +53,11 @@ function handleThumbnailError(tierListId) {
|
||||
async function loadTierLists() {
|
||||
isTopicLoading.value = true
|
||||
try {
|
||||
const [gameRes, listRes] = await Promise.all([
|
||||
const [topicRes, listRes] = await Promise.all([
|
||||
api.getTopic(topicId.value),
|
||||
api.searchPublicTierListsByTopic(topicId.value, query.value),
|
||||
])
|
||||
topicName.value = gameRes.game?.name || ''
|
||||
topicName.value = topicRes.topic?.name || topicRes.game?.name || ''
|
||||
brokenThumbnailIds.value = {}
|
||||
tierLists.value = listRes.tierLists || []
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user