diff --git a/core/src/modules/config.js b/core/src/modules/config.js index 2de5839d..c81ba5de 100644 --- a/core/src/modules/config.js +++ b/core/src/modules/config.js @@ -30,6 +30,7 @@ export default class Config extends Module { getPath(id, full) { const path = this.paths.find(p => p.id === id); + if (!path) return null; return full ? path : path.path; }