From d7b42c60c2afde48c3f0f1a259f6b5acb732f496 Mon Sep 17 00:00:00 2001 From: Xaun Lopez Date: Fri, 9 Feb 2018 16:33:15 +0000 Subject: [PATCH] Revert "IMPAC-758] Date hidden in X-axis for current ratio and debt service widget" --- .../widgets/accounts-ratios/accounts-ratios.directive.coffee | 1 - .../widgets/accounts-ratios/accounts-ratios.tmpl.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 }}