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