mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-24 12:35:05 +00:00
channge config.export to only return keys, not areas
This commit is contained in:
parent
81ac31ae25
commit
0e1e89fdec
1 changed files with 1 additions and 2 deletions
|
|
@ -425,8 +425,7 @@ export default class ConfigMenu {
|
|||
const obj = {};
|
||||
Object.entries(this.#config).forEach(([key, val]) => {
|
||||
if (IGNORED_TYPES.includes(val.type)) return;
|
||||
if (!obj.hasOwnProperty(val.area.name)) obj[val.area.name] = {};
|
||||
obj[val.area.name][key] = this.get(key);
|
||||
obj[key] = this.get(key);
|
||||
});
|
||||
|
||||
return obj;
|
||||
|
|
|
|||
Loading…
Reference in a new issue