Skip to content

Commit

Permalink
feat: code review
Browse files Browse the repository at this point in the history
  • Loading branch information
janhommes committed Oct 18, 2024
1 parent 021a00e commit 89aace0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
name="label"
[(ngModel)]="apiKey"
required
[placeholder]="'AI API Key to use for generating simulator'"
[placeholder]="
'AI API Key to use for generating simulator' | translate
"
/>
<label
class="c8y-checkbox text-nowrap m-l-8"
Expand Down Expand Up @@ -76,7 +78,7 @@
<button
class="btn btn-primary"
(click)="create()"
[disabled]="!useCase || pending"
[disabled]="!useCase || !apiKey || pending"
[ngClass]="{ 'btn-pending': pending }"
>
{{ 'Create' }}
Expand Down

0 comments on commit 89aace0

Please sign in to comment.