Commit 426b9921 authored by El Mghazli Yacine's avatar El Mghazli Yacine

updated tslib

parent 51362d9c
This diff is collapsed.
......@@ -22,7 +22,7 @@
"@angular/platform-browser-dynamic": "~13.2.6",
"@angular/router": "~13.2.6",
"rxjs": "^6.6.6",
"tslib": "^2.0.0",
"tslib": "^2.3.1",
"zone.js": "^0.11.4"
},
"devDependencies": {
......
......@@ -25,13 +25,13 @@ import { AppComponent } from './app.component';
import { ErrorDialogComponent } from './components/error-dialog/error-dialog.component';
import { InterceptorProviders } from './interceptors/interceptors';
import { LoadingService } from './services/loading.service';
import { CommandsComponent } from './components/commands/commands.component';
import { CommandsApi } from './api/commands.api';
import { MatSidenavModule } from '@angular/material/sidenav';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppRoutingModule } from './app-routing.module';
import { ReactiveFormsModule } from '@angular/forms';
import { CommandsComponent } from './components/commands/commands.component';
import { CommandsApi } from './api/commands.api';
import { MatSidenavModule } from '@angular/material/sidenav';
@NgModule({
declarations: [
......@@ -40,6 +40,7 @@ import { MatSidenavModule } from '@angular/material/sidenav';
ErrorDialogComponent
],
imports: [
MatSidenavModule,
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
......@@ -56,7 +57,6 @@ import { MatSidenavModule } from '@angular/material/sidenav';
MatDatepickerModule,
MatNativeDateModule,
MatToolbarModule,
MatSidenavModule,
MatListModule,
MatTableModule,
MatPaginatorModule,
......@@ -66,7 +66,8 @@ import { MatSidenavModule } from '@angular/material/sidenav';
MatSlideToggleModule,
MatGridListModule,
MatCardModule,
MatMenuModule
MatMenuModule,
MatSidenavModule,
],
providers: [
// services
......
......@@ -9,6 +9,7 @@
<mat-sidenav-content>
<mat-toolbar>
<mat-toolbar-row fxLayout="row" fxLayoutAlign="space-between center">
<ng-template #not_loading>
......@@ -17,20 +18,16 @@
</button>
<h1>OAI SoftModem</h1>
</ng-template>
<ng-template #loading>
<mat-progress-spinner mode="indeterminate" diameter="40"> </mat-progress-spinner>
</ng-template>
<div fxLayout="row" fxLayoutAlign="start center">
<ng-container *ngIf="loadingService.isLoading$ | async; then loading; else not_loading">
</ng-container>
</div>
<ng-container fxLayout="row">
<a id="email">{{ userService.email }}</a>
<button mat-raised-button color="warn" href="#" (click)="userService.logout()">
logout
</button>
</ng-container>
</mat-toolbar-row>
</mat-toolbar>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment