Fixed authentication caching

This commit is contained in:
frikky
2021-05-28 13:07:38 +02:00
parent d920158cd6
commit fd4a87bfe6
8 changed files with 54 additions and 18 deletions
+4 -1
View File
@@ -151,7 +151,10 @@ const Admin = (props) => {
if (responseJson["success"] === false) {
alert.error("Failed deleting auth")
} else {
getAppAuthentication()
// Need to wait because query in ES is too fast
setTimeout(() => {
getAppAuthentication()
}, 1000);
alert.success("Successfully deleted authentication!")
}
}),
+1 -1
View File
@@ -1585,7 +1585,7 @@ const AngularWorkflow = (props) => {
const onNodeSelect = (event, newAppAuth) => {
const data = event.target.data()
if (data.isButton) {
console.log("BUTTON CLICKED: ", data)
//console.log("BUTTON CLICKED: ", data)
if (data.buttonType === "delete") {
console.log("DELETE!")
const parentNode = cy.getElementById(data.attachedTo)
+1 -1
View File
@@ -89,7 +89,7 @@ export const GetIconInfo = (action) => {
{"key": "execute", "values": ["execute", "run", "play", "raise",]},
{"key": "extract", "values": ["extract", "unpack", "decompress"]},
{"key": "inflate", "values": ["inflate", "pack", "compress",]},
{"key": "edit", "values": ["update", "create", "edit", "put", "patch", "change", "parse", "replace", "filter", "conver", "map"]},
{"key": "edit", "values": ["update", "create", "edit", "put", "patch", "change", "parse", "replace", "filter", "conver", "map", "format", "escape"]},
{"key": "compare", "values": ["compare", "convert", "to", "filter", "translate", ]},
{"key": "list", "values": ["list", "head", "options"]},
]