A platform for community discussion. Free, open, simple.
DEV: Fix theme name in `this` deprecation notices (#29888)
Jarek Radoszb9838d606633
diff --git a/app/assets/javascripts/discourse/app/initializers/deprecation-this-property-fallback-handler.js b/app/assets/javascripts/discourse/app/initializers/deprecation-this-property-fallback-handler.jsindex a431af71966..24f2bc6dfc4 100644--- a/app/assets/javascripts/discourse/app/initializers/deprecation-this-property-fallback-handler.js+++ b/app/assets/javascripts/discourse/app/initializers/deprecation-this-property-fallback-handler.js@@ -23,7 +23,7 @@ export default {if (pluginMatch || themeIdMatch) {const source = {type: pluginMatch ? "plugin" : "theme",- name: pluginMatch || getThemeInfo(parseInt(themeIdMatch, 10)),+ name: pluginMatch || getThemeInfo(parseInt(themeIdMatch, 10)).name,id: themeIdMatch,};options.source = source;