Fix regression error in dashboard

This commit is contained in:
bergware
2018-12-30 17:28:35 +01:00
parent 856edf2b66
commit 43fef1425c
+1 -1
View File
@@ -463,7 +463,7 @@ function smartMenu(table) {
opts.push({text:'Capabilities',icon:'fa-user',action:function(e){e.preventDefault();capabilities(page,disk);}});
opts.push({divider:true});
opts.push({text:'Identity',icon:'fa-home',action:function(e){e.preventDefault();identity(page,disk);}});
if (view == 'alert') {
if (view.search('green-text') == -1) {
opts.push({divider:true});
opts.push({text:'Acknowledge',icon:'fa-check-square-o',action:function(e){e.preventDefault();acknowledge(disk);}});
}