Follow changes of oidc-test: move all resources to json; use buttons
Some checks failed
/ build (push) Failing after 8s
Some checks failed
/ build (push) Failing after 8s
This commit is contained in:
parent
553e85a5d5
commit
88423b26dd
3 changed files with 44 additions and 43 deletions
|
@ -74,7 +74,9 @@ function initializeTokenInterceptor(keycloak: Keycloak) {
|
|||
}
|
||||
|
||||
async function checkHref(elem: HTMLLinkElement) {
|
||||
await resourceServer.get(elem.href).then(
|
||||
const url = elem.getAttribute("resource-id")
|
||||
if (!url) return
|
||||
await resourceServer.get(url).then(
|
||||
resp => {
|
||||
elem.classList.add("hasResponseStatus")
|
||||
elem.classList.add("status-" + resp.status)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue