build: Use prettier for typescript

Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
Ralph Hopman
2025-01-15 11:59:30 +00:00
committed by Adam Saghy
parent 9d6cf1514a
commit cac1d11ad7
1812 changed files with 22516 additions and 16862 deletions
@@ -17,20 +17,22 @@ export class ExternalIdentifierComponent implements OnInit {
displayR = true;
emptyValue = false;
constructor(private clipboard: Clipboard,
private alertService: AlertService) { }
constructor(
private clipboard: Clipboard,
private alertService: AlertService
) {}
ngOnInit(): void {
this.emptyValue = (!this.externalId || this.externalId === '');
this.displayL = (this.display === 'left');
this.displayR = (this.display === 'right');
this.emptyValue = !this.externalId || this.externalId === '';
this.displayL = this.display === 'left';
this.displayR = this.display === 'right';
}
isLongValue(): boolean {
if (this.externalId == null) {
return false;
}
return (this.externalId.length > 15);
return this.externalId.length > 15;
}
showValue() {