We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0127578 commit 3115bfbCopy full SHA for 3115bfb
client/src/addon_manager/services/settings.service.ts
@@ -38,11 +38,13 @@ export const applyAddonSettings = async (
38
const changes = [];
39
for (const [newKey, newValue] of Object.entries(config)) {
40
if (Array.isArray(newValue)) {
41
- changes.push({
42
- action: "add",
43
- key: newKey,
44
- value: newValue,
45
- uri: folder.uri,
+ newValue.forEach((val) => {
+ changes.push({
+ action: "add",
+ key: newKey,
+ value: val,
46
+ uri: folder.uri,
47
+ });
48
});
49
} else if (typeof newValue === "object") {
50
changes.push(
0 commit comments