paths is an object now

This commit is contained in:
Jiiks 2019-02-17 08:48:41 +02:00
parent 8235e55357
commit c88d2cdae9
1 changed files with 3 additions and 2 deletions

View File

@ -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() {