Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/promoted-group-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ get about() {
if (this.group.about?.length > 100) {
return this.group.about.slice(0, 100) + '...';
}
return this.group.about;
return this.group.about ? this.group.about : 'No information given about group.';
}
}
2 changes: 1 addition & 1 deletion app/templates/components/promoted-group-card.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="{{if this.isWide 'event wide ui grid row'}}" style="height: 100%;">
<div class="{{if this.isWide 'event wide ui grid row'}}" style="height: 400px;">
<div class="ui card {{this.groupClass}} {{if this.isWide 'h-auto' 'h-full'}}">
<a class="image" href={{href-to 'group-public' @group.id}}>
<Widgets::SafeImage @src={{if @group.thumbnailImageUrl @group.thumbnailImageUrl "/images/group.png"}} />
Expand Down