mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 20:51:12 +08:00
The save action clashed with the save component argument Followup to a433b30650d125e6685fb13f679f613003f246aa
This commit is contained in:
parent
ba5e0924db
commit
4cadad9a53
@ -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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user