fix: 첫 건국 시 국가방침이 null임

This commit is contained in:
2023-03-09 03:03:18 +09:00
parent 3d9bb9c2e0
commit c4ccc451ec
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
<div class="s-border-t py-2 nationNotice">
<div class="px-2"> 국가방침 </div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div v-if="nationInfo" class="nationNoticeBody" v-html="nationInfo.notice.msg" />
<div v-if="nationInfo" class="nationNoticeBody" v-html="nationInfo.notice?.msg ?? ''" />
</div>
<div id="ingameBoard">
<!-- TODO: 운영자 툴바는 어디에?-->
+1 -1
View File
@@ -178,7 +178,7 @@ export type GetFrontInfoResponse = {
bill: number;
taxRate: number;
onlineGen: string;
notice: NationNotice;
notice: NationNotice | null;
topChiefs: Record<
11 | 12,
{