From e5cf8bd564bf0a70b7a47133df70a0430755cbbb Mon Sep 17 00:00:00 2001 From: David Battersby Date: Sun, 15 Dec 2024 14:01:36 +0400 Subject: [PATCH] linting --- .../discourse/app/components/topic-drafts-dropdown.gjs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/topic-drafts-dropdown.gjs b/app/assets/javascripts/discourse/app/components/topic-drafts-dropdown.gjs index b0bcbcb3a77..b121ea1d887 100644 --- a/app/assets/javascripts/discourse/app/components/topic-drafts-dropdown.gjs +++ b/app/assets/javascripts/discourse/app/components/topic-drafts-dropdown.gjs @@ -19,7 +19,9 @@ export default class TopicDraftsDropdown extends Component { } get otherDraftsCount() { - return this.args.otherDrafts > 0 ? `+${this.args.otherDrafts} other drafts` : ""; + return this.args.otherDrafts > 0 + ? `+${this.args.otherDrafts} other drafts` + : ""; } @action @@ -47,7 +49,7 @@ export default class TopicDraftsDropdown extends Component { draft, draftKey: draft.draft_key, draftSequence: draft.sequence, - ...draft.data + ...draft.data, }); } }