Skip to content

Commit

Permalink
made links optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jessewashburn authored Jan 15, 2025
1 parent 5c19534 commit b0b6f43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class UsersAchievementsUpdateComponent implements OnInit, OnDestroy {
...achievement,
title: [ achievement.title, CustomValidators.required ],
description: [ achievement.description ],
link: [ achievement.link, [], CustomValidators.validLink ],
link: [ achievement.link ],
date: [ achievement.date, null, ac => this.validatorService.notDateInFuture$(ac) ]
}),
{ onSubmit: (formValue, formGroup) => {
Expand Down

0 comments on commit b0b6f43

Please sign in to comment.