From a3e5b3ccf0d652428a6ef6f533925a2162c35a01 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Wed, 23 Oct 2019 10:44:32 +0200 Subject: Fix hasCustomIcon setting --- app/Controllers/Http/ServiceController.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/Controllers/Http/ServiceController.js b/app/Controllers/Http/ServiceController.js index e4e69fe..4a4a8c4 100644 --- a/app/Controllers/Http/ServiceController.js +++ b/app/Controllers/Http/ServiceController.js @@ -90,7 +90,7 @@ class ServiceController { return { customRecipe: false, - hasCustomIcon: false, + hasCustomIcon: !!settings.iconId, isBadgeEnabled: true, isDarkModeEnabled: '', isEnabled: true, @@ -234,7 +234,6 @@ class ServiceController { async icon({ params, response, - auth }) { const { id, @@ -285,7 +284,7 @@ class ServiceController { return { customRecipe: false, - hasCustomIcon: false, + hasCustomIcon: !!settings.iconId, isBadgeEnabled: true, isDarkModeEnabled: '', isEnabled: true, -- cgit v1.2.3-54-g00ecf