This commit is contained in:
David Battersby 2024-12-15 14:01:36 +04:00
parent 592e23e984
commit e5cf8bd564
No known key found for this signature in database
GPG Key ID: B340A4CBDA2C74DC
1 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,9 @@ export default class TopicDraftsDropdown extends Component {
} }
get otherDraftsCount() { get otherDraftsCount() {
return this.args.otherDrafts > 0 ? `+${this.args.otherDrafts} other drafts` : ""; return this.args.otherDrafts > 0
? `+${this.args.otherDrafts} other drafts`
: "";
} }
@action @action
@ -47,7 +49,7 @@ export default class TopicDraftsDropdown extends Component {
draft, draft,
draftKey: draft.draft_key, draftKey: draft.draft_key,
draftSequence: draft.sequence, draftSequence: draft.sequence,
...draft.data ...draft.data,
}); });
} }
} }