fix: type-check error
This commit is contained in:
parent
95881194fe
commit
9be4469223
1 changed files with 6 additions and 2 deletions
|
|
@ -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 />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue