fix: type-check error

This commit is contained in:
Methapon2001 2024-01-11 17:23:56 +07:00
parent 95881194fe
commit 9be4469223
No known key found for this signature in database
GPG key ID: 849924FEF46BD132

View file

@ -132,7 +132,9 @@ async function downloadSubmit(path: string | undefined) {
<span>อเรอง</span>
</div>
<div class="col-grow">
<span class="text-grey">{{ fileInfo?.metadata.subject ?? fileInfo?.title }}</span>
<span class="text-grey">{{
fileInfo?.metadata?.subject ?? fileInfo?.title
}}</span>
</div>
</div>
<q-separator />
@ -150,7 +152,9 @@ async function downloadSubmit(path: string | undefined) {
<span>เจาของผลงาน</span>
</div>
<div class="col-grow">
<span class="text-grey">{{ fileInfo?.metadata.author ?? fileInfo?.author }}</span>
<span class="text-grey">{{
fileInfo?.metadata?.author ?? fileInfo?.author
}}</span>
</div>
</div>
<q-separator />