feat: optional logout from identity provider

Closes #372
This commit is contained in:
Jovan Krunić
2023-03-09 08:12:32 +00:00
committed by Thea Schöbl
parent b2a8cba1aa
commit ef7752ad49
15 changed files with 103 additions and 36 deletions

View File

@@ -14,7 +14,7 @@
*/
import {Component, Input} from '@angular/core';
import {Browser} from '../../../util/browser.factory';
import {SimpleBrowser} from '../../../util/browser.factory';
@Component({
selector: 'stapps-external-link',
@@ -26,7 +26,7 @@ export class ExternalLinkComponent {
@Input() text: string;
constructor(private browser: Browser) {}
constructor(private browser: SimpleBrowser) {}
onLinkClick(url: string) {
// make sure if the url is valid and then open it in the browser (prevent problem in iOS)