diff --git a/ui/scripts/system.js b/ui/scripts/system.js index d6a76d3c54a..f667c60cbcb 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -18073,7 +18073,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");