Skip to content
Snippets Groups Projects
Commit b7085a17 authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

fix: getRoute

parent 03f67009
No related branches found
Tags v8.1.0
No related merge requests found
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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment