Skip to content

Commit 2a0fc1b

Browse files
committed
fix: frontend
1 parent 2763081 commit 2a0fc1b

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

frontend/src/angular/i18n/messages.de.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@
1919
"cancel": "Cancel",
2020
"upload": "Upload",
2121
"doclistHeading": "Document List",
22-
"bookSummary": "Book summary",
22+
"bookSummary": "Book summary",
2323
"imageQuery": "Image query",
2424
"function": "Function",
2525
"table": "Table",
2626
"search": "Search",
2727
"import": "Import",
28-
"logout": "Logout",
2928
"doclistId": "Id",
3029
"doclistName": "Name",
3130
"doclistType": "Type",

frontend/src/angular/src/app/mcp-client/mcp-client.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
<div class="my-textarea">
3030
<mat-form-field class="example-full-width">
3131
<mat-label i18n="@@mcpSearchQueryHeading">Query about books or movies</mat-label>
32-
<textarea matInput i18n-placeholder="@@mcpSearchQueryPlaceholder" placeholder="Ask about books or movies." [(ngModel)]="query" name="query"></textarea>
32+
<textarea matInput i18n-placeholder="@@mcpSearchQueryPlaceholder" placeholder="Ask about books or movies." required [(ngModel)]="query" name="query"></textarea>
3333
</mat-form-field>
3434
</div>
3535
<div class="my-button">
36-
<button matButton="filled" type="submit" i18n="@@search">Search</button>
36+
<button matButton="filled" type="submit" i18n="@@search" [disabled]="!userForm.valid">Search</button>
3737
</div>
3838
</div>
3939
</form>

0 commit comments

Comments
 (0)