improving clients page

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-10-21 23:04:01 +02:00
parent 414d943bb2
commit 3b6e951ccd
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ public class FileStore implements AuthorizationService, ClientService, SessionSe
client.remove(scope); client.remove(scope);
} }
} }
if (client.isEmpty()) clients.remove(clientId); // if (client.isEmpty()) clients.remove(clientId); // keep client as mark for ClientController.dash
} }
if (clients.isEmpty()) authorizations.remove(userId); if (clients.isEmpty()) authorizations.remove(userId);
} }

View File

@@ -28,7 +28,7 @@ function handleClients(response){
} }
function link(url){ function link(url){
return url ? '<a href="'+url+'">'+url.split('?')[0]+'</a>': ""; return url ? '<a href="'+url+'" target="_blank">'+url.split('?')[0]+'</a>': "";
} }
function handleRemove(response){ function handleRemove(response){