Skip to content

Commit 879db64

Browse files
fix: get default config while adding a module
1 parent d894cd0 commit 879db64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

remote.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ const Remote = {
12621262
// we came here from adding a module
12631263
self.get("get", `data=defaultConfig&module=${name}`, (response) => {
12641264
const newData = JSON.parse(response);
1265-
moduleData.push({module: name, config: newData});
1265+
moduleData.push({module: name, config: newData.data});
12661266
const index = moduleData.length - 1;
12671267
self.changedModules.push(index);
12681268
self.appendModuleEditElements(parent, moduleData);

0 commit comments

Comments
 (0)