Added check for date existence

This commit is contained in:
Ivymaster
2026-08-27 11:00:43 +02:00
parent 6d641bbd06
commit 5fff45e302
6 changed files with 35 additions and 6 deletions
@@ -2,15 +2,16 @@ export default {
props: {
data: {
type: String,
}
},
},
data() {
return {}
return {};
},
template: /*html*/`
template: /*html*/ `
<div class="card">
<div class="card-body">
<span >{{$p.t('profil','fhAusweisStatus',[data])}}</span>
<span v-if="data">{{$p.t('profil','fhAusweisStatus',[data])}}</span>
<span v-else>{{$p.t('profil','fhAusweisStatusKeine')}}</span>
</div>
</div>`,
}
};