Fix attribute name

Fixing attribute name in presets to align with the followed convention.
This commit is contained in:
Shweelan Samson authored and Zaid Abdulla committed 2018-12-26 00:22:07 -08:00
1 parent 14e0e95da5
commit 600f8a8eed
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -24,7 +24,7 @@ const getDownloadUrl = memoize(filter => {
Events: "events",
Precondition: "precondition",
Provision: "provision",
Arguments: "provision_args"
Arguments: "provisionArgs"
})
})}`;
});
@@ -116,7 +116,7 @@ function renderTable(
m("a", { href: devicesUrl }, preset["precondition"])
),
m("td", preset["provision"]),
m("td", preset["provision_args"])
m("td", preset["provisionArgs"])
)
);
}
+1 -1
View File
@@ -440,7 +440,7 @@ function flattenPreset(preset) {
)
throw new Error("Invalid preset provision");
p.provision = provision.name;
p.provision_args =
p.provisionArgs =
provision.args && provision.args.length
? `"${provision.args.join('" "')}"`
: "";