Use footer info from settings to show empty on default

This commit is contained in:
Johannes Zellner
2020-03-25 07:00:53 +01:00
parent 5deb5f79bd
commit da08da2b54
+5 -1
View File
@@ -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 () {