Fixed authentication caching
This commit is contained in:
@@ -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!")
|
||||
}
|
||||
}),
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"]},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user