diff --git a/js/ui/appFavorites.js b/js/ui/appFavorites.js index 0bdf41b22..cc3e3c32a 100644 --- a/js/ui/appFavorites.js +++ b/js/ui/appFavorites.js @@ -153,7 +153,7 @@ class AppFavorites { } _removeFavorite(appId) { - if (!appId in this._favorites) + if (!(appId in this._favorites)) return false; let ids = this._getIds().filter(id => id != appId);