From 65e31da45b95f19e2bae2acaff57c77fe920d6a9 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Mon, 23 Apr 2018 15:20:21 +0800 Subject: [PATCH] fix(admin): fixed variable issue of deny.client.view.html --- modules/core/client/controllers/error.client.controller.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/core/client/controllers/error.client.controller.js b/modules/core/client/controllers/error.client.controller.js index 978aec48..16b68a01 100644 --- a/modules/core/client/controllers/error.client.controller.js +++ b/modules/core/client/controllers/error.client.controller.js @@ -5,10 +5,11 @@ .module('core') .controller('ErrorController', ErrorController); - ErrorController.$inject = ['$stateParams']; + ErrorController.$inject = ['$stateParams', 'MeanTorrentConfig']; - function ErrorController($stateParams) { + function ErrorController($stateParams, MeanTorrentConfig) { var vm = this; + vm.supportConfig = MeanTorrentConfig.meanTorrentConfig.support; vm.errorMessage = null; vm.errorParams = null;