Skip to content

Commit 8d45a87

Browse files
committed
refactor(card): update the sample
1 parent 1828b7a commit 8d45a87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/app/card/card.sample.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ <h2 igxCardHeaderSubtitle>{{ cards[0].subtitle }}</h2>
5151

5252
<igx-card [horizontal]="true">
5353
@if(!properties.hideActions) {
54-
<igx-card-actions [layout]="properties.justifyActions? 'justify': null">
54+
55+
<igx-card-actions [layout]="properties.justifyActions ? 'justify' : 'cantHandleNull'">
5556
@for(icon of cards[1].icons; track icon) {
5657
<button
5758
igxIconButton="flat"
@@ -114,7 +115,7 @@ <h5 igxCardHeaderSubtitle>{{cards[1].subtitle}}</h5>
114115
<igx-divider type="dashed" [middle]="true"></igx-divider>
115116

116117
@if(!properties.hideActions) {
117-
<igx-card-actions [layout]="properties.justifyActions? 'justify': null">
118+
<igx-card-actions [layout]="properties.justifyActions? 'justify': 'cantHandleNull'">
118119
@for(icon of cards[1].icons; track icon) {
119120
<button
120121
igxIconButton="flat"

0 commit comments

Comments
 (0)