improving clients page
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user