Skip to content

Commit 4eab2a4

Browse files
committed
Satisfies the edge case of when columns and colummns is defined
Garuntees we'll only ever use columns value
1 parent 00211f9 commit 4eab2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/table/tableview/table-view.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ angular.module('patternfly.table').component('pfTableView', {
4242
$log.debug("$onInit");
4343
}
4444

45-
if (angular.isDefined(ctrl.colummns)) {
45+
if (angular.isDefined(ctrl.colummns) && angular.isUndefined(ctrl.columns)) {
4646
ctrl.columns = ctrl.colummns;
4747
}
4848
if (angular.isUndefined(ctrl.dtOptions)) {

0 commit comments

Comments
 (0)