ui: move limits display to sidebar

This commit is contained in:
undefined committed 2021-04-12 13:01:41 +08:00
1 parent 90443546c8
commit 5bd851028c
4 files changed
+20 -19

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ class Loader extends nunjucks.Loader {
};
}
let fullpath = null;
if (typeof argv.template !== 'string') argv.template = path.resolve(__dirname, '..', 'template');
if (typeof argv.template !== 'string') argv.template = path.resolve(__dirname, '..', 'templates');
const p = path.resolve(process.cwd(), argv.template, name);
if (fs.existsSync(p)) fullpath = p;
if (!fullpath) {