apps: hide update indicator for normal users

This commit is contained in:
Girish Ramakrishnan
2024-12-19 12:36:47 +01:00
parent 68431ae357
commit 17fee93002
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -201,7 +201,8 @@
</div>
<!-- we check the version here because the box updater does not know when an app gets updated -->
<div class="app-update-badge" ng-click="showAppConfigure(app, 'updates')" ng-show="config.update[app.id].manifest.version && config.update[app.id].manifest.version !== app.manifest.version && (app | installSuccess) && !(app.error || app.runState === 'stopped')" uib-tooltip="Update Available">
<!-- update info is available to app users. but we should show update indicator only for operators since normal users cannot update -->
<div class="app-update-badge" ng-click="showAppConfigure(app, 'updates')" ng-show="isOperator(app) && config.update[app.id].manifest.version && config.update[app.id].manifest.version !== app.manifest.version && (app | installSuccess) && !(app.error || app.runState === 'stopped')" uib-tooltip="Update Available">
<i class="fa fa-arrow-up fa-inverse"></i>
</div>