A platform for community discussion. Free, open, simple.
FIX: uses translatedTitle to check validity of topic footer btn (#7472)
Joffrey JAFFEUXe696903c31be
diff --git a/app/assets/javascripts/discourse/lib/register-topic-footer-button.js.es6 b/app/assets/javascripts/discourse/lib/register-topic-footer-button.js.es6index 553b6bdb978..d74e71695e8 100644--- a/app/assets/javascripts/discourse/lib/register-topic-footer-button.js.es6+++ b/app/assets/javascripts/discourse/lib/register-topic-footer-button.js.es6@@ -43,7 +43,11 @@ export function registerTopicFooterButton(button) {return;}- if (!normalizedButton.icon && !normalizedButton.title) {+ if (+ !normalizedButton.icon &&+ !normalizedButton.title &&+ !normalizedButton.translatedTitle+ ) {Ember.error(`Attempted to register a topic button: ${button.id