mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
The save action clashed with the save component argument
Followup to a433b30650
This commit is contained in:
@@ -200,7 +200,7 @@ export default class AceEditor extends Component {
|
|||||||
|
|
||||||
this._editor.getSession().setAnnotations(warnings);
|
this._editor.getSession().setAnnotations(warnings);
|
||||||
|
|
||||||
this.setWarning(
|
this.setWarning?.(
|
||||||
warnings.length
|
warnings.length
|
||||||
? I18n.t("admin.customize.theme.scss_color_variables_warning")
|
? I18n.t("admin.customize.theme.scss_color_variables_warning")
|
||||||
: false
|
: false
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
@content={{this.editorContents}}
|
@content={{this.editorContents}}
|
||||||
@mode={{this.currentEditorMode}}
|
@mode={{this.currentEditorMode}}
|
||||||
@editorId={{this.editorId}}
|
@editorId={{this.editorId}}
|
||||||
@save={{action "save"}}
|
@save={{@save}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="admin-footer">
|
<div class="admin-footer">
|
||||||
|
|||||||
@@ -48,9 +48,4 @@ export default class EmailStylesEditor extends Component {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@action
|
|
||||||
save() {
|
|
||||||
this.attrs.save();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user