Skip to content

Commit

Permalink
Fix a bug with labels not set for new Text entries
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Oct 20, 2024
1 parent 245da19 commit 942b389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/app/apps/app/text/text.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export class TextComponent implements OnDestroy {
abstract: entry.data.abstract,
background: entry.data.background,
collaborators: [],
labels: entry.data.labels,
labels: entry.data.labels ?? [],
published: entry.record ? entry.record.published : entry.data.published,
image: entry.data.image,
};
Expand Down

0 comments on commit 942b389

Please sign in to comment.