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