Fix: #104
This commit is contained in:
@@ -204,14 +204,14 @@ export class AccountComponent {
|
||||
addLicence() {
|
||||
this.user.licensedIn.push({ registerNo: '', state: '' });
|
||||
}
|
||||
removeLicence() {
|
||||
this.user.licensedIn.splice(this.user.licensedIn.length - 1, 1);
|
||||
removeLicence(index: number) {
|
||||
this.user.licensedIn.splice(index, 1);
|
||||
}
|
||||
addArea() {
|
||||
this.user.areasServed.push({ county: '', state: '' });
|
||||
}
|
||||
removeArea() {
|
||||
this.user.areasServed.splice(this.user.areasServed.length - 1, 1);
|
||||
removeArea(index: number) {
|
||||
this.user.areasServed.splice(index, 1);
|
||||
}
|
||||
get isProfessional() {
|
||||
return this.user.customerType === 'professional';
|
||||
|
||||
Reference in New Issue
Block a user