ciyidogan commited on
Commit
7ecf48d
·
verified ·
1 Parent(s): 2b125aa

Update flare-ui/src/app/components/chat/chat.component.html

Browse files
flare-ui/src/app/components/chat/chat.component.html CHANGED
@@ -1,3 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <!-- Oturum yoksa sadece Start Chat düğmesi -->
2
  <div *ngIf="!sessionId" class="start-wrapper">
3
  <button mat-raised-button color="primary" (click)="startChat()">
 
1
+ <div *ngIf="!sessionId" class="start-wrapper">
2
+ <mat-form-field appearance="outline" class="project-select">
3
+ <mat-label>Project</mat-label>
4
+ <mat-select [(ngModel)]="selectedProject" required>
5
+ <mat-option *ngFor="let p of projects" [value]="p">{{ p }}</mat-option>
6
+ </mat-select>
7
+ </mat-form-field>
8
+
9
+ <button
10
+ mat-raised-button
11
+ color="primary"
12
+ (click)="startChat()"
13
+ [disabled]="!selectedProject"
14
+ >
15
+ <mat-icon>chat</mat-icon>
16
+ Start Chat
17
+ </button>
18
+ </div>
19
+
20
  <!-- Oturum yoksa sadece Start Chat düğmesi -->
21
  <div *ngIf="!sessionId" class="start-wrapper">
22
  <button mat-raised-button color="primary" (click)="startChat()">