Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 441e1b5

Browse files
committed
Fix for having multiple directives on the ng-switch
1 parent 02e0fb2 commit 441e1b5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

source/components/cardContainer/cardContainer.ng1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</div>
1313

1414
<div ng-switch="cardContainer.selectableCards">
15-
<div ng-switch-when="false" ng-switch-default>
15+
<div ng-switch-when="false">
1616
<div class="card-columns-header">
1717
<div ng-repeat="column in cardContainer.columns">
1818
<rl-column-header sort="cardContainer.sort(column)" sorting="column.sortDirection" column="column"></rl-column-header>

source/components/cardContainer/cardContainer.ng1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ export class CardContainerController {
129129
if (this.builder != null) {
130130
this.builder.setCardContainerProperties(<any>this);
131131
}
132+
if (!this.selectableCards) {
133+
this.selectableCards = false;
134+
}
132135

133136
this.makeCard = $transclude;
134137
this.permanentFooters = _.isUndefined(this.permanentFooters) ? false : this.permanentFooters;

0 commit comments

Comments
 (0)