diff --git a/src/components/widgets/accounts-ratios/accounts-ratios.directive.coffee b/src/components/widgets/accounts-ratios/accounts-ratios.directive.coffee index 6024ef5c..4d8ab73c 100644 --- a/src/components/widgets/accounts-ratios/accounts-ratios.directive.coffee +++ b/src/components/widgets/accounts-ratios/accounts-ratios.directive.coffee @@ -57,7 +57,6 @@ module.controller('WidgetAccountsRatiosCtrl', ($scope, $q, $filter, $translate, $scope.periodInfoContext.histParams = w.metadata.hist_parameters $scope.periodInfoContext.accountingBehaviour = behaviour getPrefix(behaviour).then((label)-> $scope.periodInfoContext.injectBefore = label) - $scope.allowXAxisLegend = !_.includes(['accounts/ratios/current', 'accounts/ratios/debt_service'], w.endpoint) if behaviour == 'pnl' $scope.totalRatio = w.content.calculation.ratio.average diff --git a/src/components/widgets/accounts-ratios/accounts-ratios.tmpl.html b/src/components/widgets/accounts-ratios/accounts-ratios.tmpl.html index e5074c12..d46279d6 100644 --- a/src/components/widgets/accounts-ratios/accounts-ratios.tmpl.html +++ b/src/components/widgets/accounts-ratios/accounts-ratios.tmpl.html @@ -86,7 +86,7 @@

Widget settings

-
{{ widget.content.layout.ratio }}
+
{{ widget.content.layout.ratio }}