tigger 2 месяцев назад
Родитель
Сommit
c485126253
2 измененных файлов с 9 добавлено и 4 удалено
  1. 2 4
      src/app/app.component.html
  2. 7 0
      src/app/dashboard/dashboard.component.html

+ 2 - 4
src/app/app.component.html

@@ -89,9 +89,7 @@
 <div [ngClass]="theme" class="container">
   <div class="main">
     <router-outlet></router-outlet>
-    <!--
-      <chat title="{{'fis_ai_chat'|tr:'FIS A.I. Chat'}}"></chat>
-    -->
+    <chat title="{{'fis_ai_chat'|tr:'FIS A.I. Chat'}}"></chat>
     <div class="mobile-buffer">&nbsp;</div>
   </div>
 </div>
@@ -124,7 +122,7 @@
 </mat-menu>
 
 <mat-menu #account="matMenu">
-  <button mat-menu-item (click)="cs.navigate('/auth/change')" [disabled]="true">
+  <button mat-menu-item (click)="cs.navigate('/auth/change')" [disabled]="!loginService.user">
     <mat-icon>lock_reset</mat-icon>
     {{'change_password'|tr:'Change Password'}}</button>
 </mat-menu>

+ 7 - 0
src/app/dashboard/dashboard.component.html

@@ -25,6 +25,13 @@
               <leave-info-dashitem></leave-info-dashitem>
             </div>
           </div>
+          <div class="segment">
+            <h3>{{'spts'|tr:'SPTS'}}</h3>
+            <mat-divider></mat-divider>
+            <div class="dashitems">
+              <sales-tender-submission-dashitem></sales-tender-submission-dashitem>
+            </div>
+          </div>
         }
         <div class="social-links">