rfid cleanup

This commit is contained in:
Sam
2023-05-26 07:29:48 +12:00
parent afd0445ed1
commit 6b5d7bec78
3 changed files with 13 additions and 88 deletions

View File

@@ -70,7 +70,13 @@ async function fetchConfig(className) {
{ type: "color", defaultValue: "#2D81FC", property: "colour1" },
],
};
return config[className];
if (className === undefined) {
return config
} else {
return config[className];
}
}
function addControl(item, instance) {