mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 11:04:35 +08:00
DEV: Fix theme error message (#22956)
Since the refactoring in f822a933fa
, the text of theme-related errors has been missing in the UI.
This commit is contained in:
parent
45ae9d9bab
commit
1f15870d0d
|
@ -52,7 +52,7 @@ export default {
|
||||||
reportToLogster(source.name, error);
|
reportToLogster(source.name, error);
|
||||||
|
|
||||||
const message = I18n.t("themes.broken_theme_alert");
|
const message = I18n.t("themes.broken_theme_alert");
|
||||||
this.displayErrorNotice(this.currentUser, message, source);
|
this.displayErrorNotice(message, source);
|
||||||
},
|
},
|
||||||
|
|
||||||
reportGenericError(e) {
|
reportGenericError(e) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user