UX: show group full name even when title is same. (#8437)

This commit is contained in:
Arpit Jalan 2019-11-29 13:07:24 +05:30 committed by GitHub
parent 6005fadaca
commit 8237e0e001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,8 @@ export default Component.extend({
tagName: "span",
classNames: ["group-info-details"],
@discourseComputed("group.full_name", "group.title")
showFullName(fullName, title) {
return fullName && fullName.length && fullName !== title;
@discourseComputed("group.full_name")
showFullName(fullName) {
return fullName && fullName.length;
}
});