Merge pull request #521 from Terny22/ff-entity-widget-issue

Firefox entities-table widget bug
This commit is contained in:
Igor Kulikov 2018-01-10 15:03:43 +02:00 committed by GitHub
commit c5ba493f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -340,7 +340,11 @@ function EntitiesTableWidgetController($element, $scope, $filter, $mdMedia, $tra
}
if (!style.width) {
var columnWidth = vm.columnWidth[key.label];
if(columnWidth !== "0px") {
style.width = columnWidth;
} else {
style.width = "auto";
}
}
return style;
}