paths is an object now
This commit is contained in:
parent
8235e55357
commit
c88d2cdae9
|
@ -21,8 +21,9 @@ export default class Config extends Module {
|
|||
}
|
||||
|
||||
getPath(id, full) {
|
||||
const path = this.paths.find(path => path.id === id);
|
||||
return full ? path : path.path;
|
||||
return this.paths[id];
|
||||
// const path = this.paths.find(path => path.id === id);
|
||||
// return full ? path : path.path;
|
||||
}
|
||||
|
||||
get config() {
|
||||
|
|
Loading…
Reference in New Issue