Frontend can now filter with timespan
This commit is contained in:
@@ -1,23 +1,25 @@
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NbEvaIconsModule } from '@nebular/eva-icons';
|
||||
import { NbPasswordAuthStrategy, NbAuthModule, NbDummyAuthStrategy } from '@nebular/auth';
|
||||
import { NbCardModule, NbLayoutModule, NbSidebarModule, NbThemeModule } from '@nebular/theme';
|
||||
import { ChartsModule } from 'ng2-charts';
|
||||
import { NgxMapboxGLModule } from 'ngx-mapbox-gl';
|
||||
|
||||
import { AppRoutingModule } from './app-routing.module';
|
||||
import { AppComponent } from './app.component';
|
||||
import { LoginComponent } from './login/login.component';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { DashboardComponent } from './dashboard/dashboard.component';
|
||||
import { NgxMapboxGLModule } from 'ngx-mapbox-gl';
|
||||
import { FilterComponent } from './filter/filter.component';
|
||||
import { LoginComponent } from './login/login.component';
|
||||
import { MapComponent } from './map/map.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
LoginComponent,
|
||||
DashboardComponent
|
||||
DashboardComponent,
|
||||
MapComponent,
|
||||
FilterComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
@@ -28,21 +30,7 @@ import { NgxMapboxGLModule } from 'ngx-mapbox-gl';
|
||||
NgxMapboxGLModule.withConfig({
|
||||
accessToken: 'pk.eyJ1IjoibW9uZGVpMSIsImEiOiJja2dsY2ZtaG0xZ2o5MnR0ZWs0Mm82OTBpIn0.NzDWN3P6jJLmci_v3MM1tA'
|
||||
}),
|
||||
NbThemeModule.forRoot({ name: 'dark' }),
|
||||
NbLayoutModule,
|
||||
NbEvaIconsModule,
|
||||
NbLayoutModule,
|
||||
NbCardModule,
|
||||
NbSidebarModule,
|
||||
NbAuthModule.forRoot({
|
||||
strategies: [
|
||||
NbDummyAuthStrategy.setup({
|
||||
name: 'email',
|
||||
alwaysFail: false
|
||||
})
|
||||
],
|
||||
forms: {}
|
||||
})
|
||||
ChartsModule
|
||||
],
|
||||
providers: [],
|
||||
bootstrap: [AppComponent]
|
||||
|
||||
Reference in New Issue
Block a user