fix abm search typo

This commit is contained in:
BuckarooBanzay 2021-06-03 08:48:10 +02:00
parent 137256e30c
commit 85e33f8306

View File

@ -3,8 +3,8 @@ Vue.component("item-detail", {
props: ["item"], props: ["item"],
created: function(){ created: function(){
let abms = []; let abms = [];
if (mtinfo.abm_nodenames[this.name]){ if (mtinfo.abm_nodenames[this.item.name]){
abms.push(mtinfo.abm_nodenames[this.name]); abms.push(mtinfo.abm_nodenames[this.item.name]);
} }
if (this.item.groups){ if (this.item.groups){
Object.keys(this.item.groups).forEach(function(group){ Object.keys(this.item.groups).forEach(function(group){