mirror of
https://github.com/NicolasConstant/sengi
synced 2025-02-09 00:18:44 +01:00
added foolproof on instance name
This commit is contained in:
parent
d982c7a84b
commit
fbc10b049f
@ -22,7 +22,7 @@ export class AddNewAccountComponent implements OnInit {
|
||||
private instance: string;
|
||||
@Input()
|
||||
set setInstance(value: string) {
|
||||
this.instance = value.trim();
|
||||
this.instance = value.replace('http://', '').replace('https://', '').replace('/', '').toLowerCase().trim();
|
||||
this.checkComrad();
|
||||
}
|
||||
get setInstance(): string {
|
||||
|
Loading…
x
Reference in New Issue
Block a user