(bug) fix blank page when accessing existing card in non existing version

This commit is contained in:
Andrea Vos 2023-10-25 18:00:53 +02:00
parent bb07c992ff
commit e6d3bf8b42

View File

@ -6,6 +6,9 @@ export default {
computed: { computed: {
pronounOpinions() { pronounOpinions() {
const pronounOpinions = []; const pronounOpinions = [];
if (!this.profile) {
return pronounOpinions;
}
for (let {value: pronoun, opinion} of this.profile.pronouns) { for (let {value: pronoun, opinion} of this.profile.pronouns) {
let link = pronoun let link = pronoun
.trim() .trim()