WEB-648 refactor: replace magic numbers with LegalFormId enum (#3068)
This commit is contained in:
@@ -23,6 +23,7 @@ import { FindPipe } from '../../../pipes/find.pipe';
|
||||
import { DateFormatPipe } from '../../../pipes/date-format.pipe';
|
||||
import { YesnoPipe } from '../../../pipes/yesno.pipe';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
import { LegalFormId } from 'app/clients/models/legal-form.enum';
|
||||
|
||||
/**
|
||||
* Client Preview Step Component
|
||||
@@ -58,6 +59,9 @@ export class ClientPreviewStepComponent {
|
||||
/** Form submission event */
|
||||
@Output() submitEvent = new EventEmitter();
|
||||
|
||||
/** Expose enum to template */
|
||||
readonly LegalFormId = LegalFormId;
|
||||
|
||||
constructor() {}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user