Frontend fixes for release

This commit is contained in:
Frikky
2023-10-31 18:57:36 +01:00
parent f4813e0f03
commit 492c3c3258
13 changed files with 324 additions and 493 deletions
+6 -6
View File
@@ -929,9 +929,9 @@ const AppCreator = (defaultprops) => {
}
}
if (path === "/files/{file_id}/content") {
//console.log("FILE DOWNLOAD Method: ", path, method, methodvalue)
}
if (path === "/files/{file_id}/content") {
//console.log("FILE DOWNLOAD Method: ", path, method, methodvalue)
}
// Typescript? I think not ;)
@@ -2137,7 +2137,7 @@ const AppCreator = (defaultprops) => {
}
if (queryitem.name.toLowerCase() == "file_id") {
item.queries[querykey].name = "fileid"
item.queries[querykey].name = "fileid"
continue;
//skipped = true
//break
@@ -2525,8 +2525,8 @@ const AppCreator = (defaultprops) => {
for (let authkey in extraAuth) {
const curauth = extraAuth[authkey];
if (curauth.name.toLowerCase() == "url") {
toast("Can't add extra auth with Name URL");
if (curauth.name.length === 0 || curauth.name.toLowerCase() == "url") {
toast("Can't add extra auth with empty name or Name URL");
setAppBuilding(false);
return;
}