Skip to content

Commit

Permalink
Fix issue with empty labels
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Oct 20, 2024
1 parent 942b389 commit bcaff8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/app/apps/app/text/text.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ export class TextComponent implements OnDestroy {

// delete data.published;

if (data.labels == null) {
data.labels = [];
}

if (entry.record) {
// Will this work?
entry.record.tags.labels = data.labels;
Expand Down

0 comments on commit bcaff8c

Please sign in to comment.