From 8d0152acc3b82221efba7cd463c3f19f46b8928e Mon Sep 17 00:00:00 2001 From: Reid Givens <rgivens@nrao.edu> Date: Fri, 5 Feb 2021 08:40:52 -0800 Subject: [PATCH] removed the env.js set up and replaced it using angular's environment system. Also removed a few unused imports and added some padding to the html template for the workspaces component --- apps/web/src/app/app.module.ts | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/apps/web/src/app/app.module.ts b/apps/web/src/app/app.module.ts index 58d17cdda..0808f31f8 100644 --- a/apps/web/src/app/app.module.ts +++ b/apps/web/src/app/app.module.ts @@ -1,20 +1,19 @@ -import { BrowserModule } from '@angular/platform-browser'; -import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; -import { ReactiveFormsModule} from "@angular/forms"; -import { NgModule } from '@angular/core'; +import {BrowserModule} from '@angular/platform-browser'; +import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; +import {ReactiveFormsModule} from "@angular/forms"; +import {NgModule} from '@angular/core'; import {HttpClientModule} from "@angular/common/http"; -import { AppComponent } from './app.component'; -import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; -import { EnvServiceProvider} from "./env/env.service.provider"; -import { WebAnalyticsService } from "./web-analytics/web-analytics.service"; +import {AppComponent} from './app.component'; +import {NgbModule} from '@ng-bootstrap/ng-bootstrap'; +import {WebAnalyticsService} from "./web-analytics/web-analytics.service"; -import { HeaderComponent } from './header/header.component'; -import { FooterComponent } from './footer/footer.component'; +import {HeaderComponent} from './header/header.component'; +import {FooterComponent} from './footer/footer.component'; -import { AppRoutingModule } from './app-routing.module'; -import { SplashComponent } from './splash/splash.component'; -import { SharedModule } from "./shared/shared.module"; +import {AppRoutingModule} from './app-routing.module'; +import {SplashComponent} from './splash/splash.component'; +import {SharedModule} from "./shared/shared.module"; @NgModule({ declarations: [ @@ -33,7 +32,7 @@ import { SharedModule } from "./shared/shared.module"; HttpClientModule, SharedModule ], - providers: [EnvServiceProvider, WebAnalyticsService], + providers: [WebAnalyticsService], bootstrap: [AppComponent] }) export class AppModule { -- GitLab