diff --git a/ui/scripts/system.js b/ui/scripts/system.js index ef08e7b12bb..2d0d80f6b3c 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -18632,7 +18632,9 @@ var jsonObj = args.context.item; var allowedActions = []; - allowedActions.push('upgradeRouterToUseNewerTemplate'); + if(jsonObj.requiresupgrade == true) { + allowedActions.push('upgradeRouterToUseNewerTemplate'); + } if (jsonObj.state == 'Running') { allowedActions.push("stop");