From 56181f65f4ffac36f52da351e70c294ea6f664d3 Mon Sep 17 00:00:00 2001 From: merefield Date: Sun, 24 Sep 2023 12:16:41 +0100 Subject: [PATCH] linting --- .../discourse/components/modal/admin-wizards-columns.js | 6 ++++-- .../discourse/components/modal/next-session-scheduled.js | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/assets/javascripts/discourse/components/modal/admin-wizards-columns.js b/assets/javascripts/discourse/components/modal/admin-wizards-columns.js index d4da771e..8204f6c3 100644 --- a/assets/javascripts/discourse/components/modal/admin-wizards-columns.js +++ b/assets/javascripts/discourse/components/modal/admin-wizards-columns.js @@ -5,11 +5,13 @@ import I18n from "I18n"; export default class AdminWizardsColumnComponent extends Component { title = I18n.t("admin.wizard.edit_columns"); - @action save() { + @action + save() { this.args.closeModal(); } - @action resetToDefault() { + @action + resetToDefault() { this.args.model.reset(); } } diff --git a/assets/javascripts/discourse/components/modal/next-session-scheduled.js b/assets/javascripts/discourse/components/modal/next-session-scheduled.js index 446237f0..e5b719f8 100644 --- a/assets/javascripts/discourse/components/modal/next-session-scheduled.js +++ b/assets/javascripts/discourse/components/modal/next-session-scheduled.js @@ -18,13 +18,15 @@ export default class NextSessionScheduledComponent extends Component { return moment().isAfter(this.bufferedDateTime); } - @action submit() { + @action + submit() { const dateTime = this.bufferedDateTime; this.args.model.update(moment(dateTime).utc().toISOString()); this.args.closeModal(); } - @action dateTimeChanged(dateTime) { + @action + dateTimeChanged(dateTime) { this.bufferedDateTime = dateTime; } }