Fixed issue with truncated group info description on desktop
• Fixed: - issue with truncated group info description on desktop
This commit is contained in:
parent
395e37282d
commit
7c952a1e06
|
@ -52,7 +52,7 @@ class GroupInfoPanel extends ImmutablePureComponent {
|
|||
const tags = !!group ? group.get('tags') : []
|
||||
const groupCategory = !!group ? group.getIn(['group_category', 'text'], null) : null
|
||||
|
||||
const collapsable = !!group ? `${group.get('description')}`.length > 500 : false
|
||||
const collapsable = !!group ? `${group.get('description')}`.length > 500 && noPanel : false
|
||||
let des = ''
|
||||
if (!!group) des = collapsable && !descriptionOpen ? `${group.get('description_html')}`.substring(0, 500) : group.get('description_html')
|
||||
const descriptionHTML = !!group ? { __html: des } : {}
|
||||
|
|
Loading…
Reference in New Issue