remove ? and array fallback

This commit is contained in:
silverwind 2024-05-02 14:13:01 +02:00
parent 66296a76a0
commit e09fe684f5
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ export default {
<div><svg-icon :name="icon" :class="['text', color]"/> <strong>{{ issue.title }}</strong> #{{ issue.number }}</div>
<div v-if="body">{{ body }}</div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div v-if="(issue?.labels || []).length" v-html="renderedLabels"/>
<div v-if="issue.labels.length" v-html="renderedLabels"/>
</div>
<div v-if="!loading && issue === null">
<div class="tw-text-12">{{ i18nErrorOccurred }}</div>