Commits

Agustina Martinez authored and github-actions[bot] committed e9b70e34d5a
Update email-request-copy.component.html

Message is optional: remove req in [disabled] (cherry picked from commit 94c756d52dfedbae470cbb5febab84c69da743cd)
No tags

src/app/request-copy/email-request-copy/email-request-copy.component.html

Modified
6 6 {{ 'grant-deny-request-copy.email.subject.empty' | translate }}
7 7 </div>
8 8 </div>
9 9 <div class="form-group">
10 10 <label for="message">{{ 'grant-deny-request-copy.email.message' | translate }}</label>
11 11 <textarea class="form-control" id="message" rows="8" [(ngModel)]="message" name="message"></textarea>
12 12 </div>
13 13 <ng-content></ng-content>
14 14 <div class="d-flex flex-row-reverse">
15 15 <button (click)="submit()"
16 - [disabled]="!message || message.length === 0 || !subject || subject.length === 0"
16 + [disabled]="!subject || subject.length === 0"
17 17 class="btn btn-primary"
18 18 title="{{'grant-deny-request-copy.email.send' | translate }}">
19 19 <i class="fas fa-envelope"></i> {{'grant-deny-request-copy.email.send' | translate }}
20 20 </button>
21 21 <button (click)="return()"
22 22 class="btn btn-outline-secondary mr-1"
23 23 title="{{'grant-deny-request-copy.email.back' | translate }}">
24 24 <i class="fas fa-arrow-left"></i> {{'grant-deny-request-copy.email.back' | translate }}
25 25 </button>
26 26 </div>
27 27 </form>

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut