devCompanion: add findComponentByCode (#2026)
This commit is contained in:
parent
3453d0c97c
commit
c0b6d8f1c4
1 changed files with 3 additions and 0 deletions
|
@ -215,6 +215,9 @@ function initWs(isManual = false) {
|
||||||
case "ModuleId":
|
case "ModuleId":
|
||||||
results = Object.keys(search(parsedArgs[0]));
|
results = Object.keys(search(parsedArgs[0]));
|
||||||
break;
|
break;
|
||||||
|
case "ComponentByCode":
|
||||||
|
results = findAll(filters.componentByCode(...parsedArgs));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return reply("Unknown Find Type " + type);
|
return reply("Unknown Find Type " + type);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue