web/user: fix opening application with Enter not respecting new tab setting (#13115)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		@ -116,8 +116,13 @@ export class LibraryPage extends AKElement {
 | 
			
		||||
    @bound
 | 
			
		||||
    launchRequest(event: LibraryPageSearchSelected) {
 | 
			
		||||
        event.stopPropagation();
 | 
			
		||||
        if (this.selectedApp?.launchUrl) {
 | 
			
		||||
        if (!this.selectedApp?.launchUrl) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        if (!this.selectedApp.openInNewTab) {
 | 
			
		||||
            window.location.assign(this.selectedApp?.launchUrl);
 | 
			
		||||
        } else {
 | 
			
		||||
            window.open(this.selectedApp.launchUrl);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user