From da08da2b547aafa64ae9c395a6e7f0a166d4fa6d Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 25 Mar 2020 07:00:53 +0100 Subject: [PATCH] Use footer info from settings to show empty on default --- src/views/branding.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/branding.js b/src/views/branding.js index 2ffba156e..c2597dbb3 100644 --- a/src/views/branding.js +++ b/src/views/branding.js @@ -196,7 +196,11 @@ angular.module('Application').controller('BrandingController', ['$scope', '$loca busy: false, refresh: function () { - $scope.footer.content = $scope.config.footer; + Client.getFooter(function (error, result) { + if (error) return console.error('Failed to get footer.', error); + + $scope.footer.content = result; + }); }, submit: function () {