Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
illfixit authored Oct 4, 2024
1 parent 1a8585e commit 49edc3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class EditAssetFormValidators {
/**
* Use on asset control, reset asset control on publish mode changes, accesses parent form
*/
isValidId(): AsyncValidatorFn {
isValidId(): AsyncValidatorFn {
return (control: AbstractControl): Observable<ValidationErrors | null> => {
const value = control?.parent?.parent?.value as EditAssetFormValue | null;
if (value?.mode !== 'CREATE') {
Expand Down

0 comments on commit 49edc3e

Please sign in to comment.