show subscription expired badge for all users

This commit is contained in:
Johannes Zellner
2021-10-12 17:58:50 +02:00
parent b089a1f580
commit 9545403e00
3 changed files with 7 additions and 5 deletions

View File

@@ -52,8 +52,6 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
// NOTE: this function is exported and called from the appstore.js
$scope.updateSubscriptionStatus = function () {
if (!Client.getUserInfo().isAtLeastAdmin) return;
Client.getSubscription(function (error, subscription) {
if (error && error.statusCode === 412) return; // ignore if not yet registered
if (error && error.statusCode === 402) return; // ignore if not yet registered