UI fixes across the board :)

This commit is contained in:
Frikky
2024-05-11 00:36:14 +02:00
parent 51e07f7271
commit 7a1529463d
13 changed files with 404 additions and 142 deletions
+8 -3
View File
@@ -675,12 +675,17 @@ const Apps = (props) => {
valid = "false";
}
if (data.actions === undefined || data.actions === null) {
data.actions = []
if (data.actions === undefined || data.actions === null) {
// Check if data type undefined/bool
if (typeof data === "boolean") {
data = {}
}
data.actions = []
}
if (data === undefined || data.actions === undefined || data.actions === null || data.actions.length === 0) {
valid = "false";
valid = "false"
}
var description = data.description;