Merge commit 'ea5f31acffc6466a035d1b2cf41d0ec93d7e8512' into feature/20250123_cl_motion

This commit is contained in:
clkim
2026-01-13 18:09:45 +09:00
18 changed files with 123 additions and 143 deletions

View File

@@ -18,9 +18,10 @@ const pageDataStore = usePageDataStore()
const { getCwmsArticle } = useCwmsArticle()
const { locale } = useI18n()
const { gameData } = storeToRefs(gameDataStore)
const { urlJson } = storeToRefs(gameDataStore)
const { pageData } = storeToRefs(pageDataStore)
const communityUrl = computed(() => urlJson.value?.community)
const boardId = computed(
() => getComponentGroup(props.components, 'boardId')?.display?.text
)
@@ -101,11 +102,10 @@ const splideOptions = computed(() => {
})
const getArticleUrl = (articleId: string) => {
const communityUrl = gameData.value?.url_json?.community
if (!communityUrl || !articleId || !boardId.value) {
if (!communityUrl.value || !articleId || !boardId.value) {
return ''
}
return `${communityUrl}/view/${articleId}`
return `${communityUrl.value}/view/${articleId}`
}
</script>