fix: getRoute
This commit is contained in:
parent
03f67009ab
commit
b7085a171e
@ -1,5 +1,5 @@
|
||||
window.hubl.getRoute = (type, returnFirst = false) => {
|
||||
let availables = components.filter(c=>c.type==type||c.uniq==type);
|
||||
let availables = window.hubl.components.filter(c=>c.type==type||c.uniq==type);
|
||||
availables.map(c => {
|
||||
if(c.extensions) {
|
||||
c.extensions.forEach(e => availables.push(e.type));
|
||||
|
Loading…
Reference in New Issue
Block a user