mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: uses translatedTitle to check validity of topic footer btn (#7472)
This commit is contained in:
parent
35212036f2
commit
e696903c31
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user