AW-6046 Fixes
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, UrlSegment, ExtraOptions } from '@angular/router';
|
||||
import { RouterModule, UrlSegment } from '@angular/router';
|
||||
|
||||
import { AuthGuard, FullScreenGuard } from '@farmmaps/common';
|
||||
//import { MapComponent } from '@farmmaps/common-map';
|
||||
//import { Switch2D3DComponent } from '@farmmaps/common-map3d';
|
||||
import { NotImplementedComponent } from '@farmmaps/common';
|
||||
import { NavBarGuard } from 'projects/common/src/public-api';
|
||||
import { LandingpageComponent } from './landingpage/landingpage.component';
|
||||
import { LogoComponent } from './logo/logo.component';
|
||||
import { MenuComponent } from './menu/menu.component';
|
||||
import { RegisterDeviceComponent } from './registerdevice/registerdevice.component';
|
||||
import { NotImplementedComponent } from '@farmmaps/common';
|
||||
import { NavBarGuard } from 'projects/common/src/public-api';
|
||||
import { TestComponent } from './test/test.component';
|
||||
import { LandingpageComponent } from './landingpage/landingpage.component';
|
||||
|
||||
export function urlMatcher(url: UrlSegment[]) {
|
||||
return { consumed: url };
|
||||
|
@@ -1,28 +1,27 @@
|
||||
import {
|
||||
NgModule,
|
||||
Inject,
|
||||
APP_BOOTSTRAP_LISTENER,
|
||||
InjectionToken, Type,
|
||||
Inject,
|
||||
InjectionToken,
|
||||
NgModule,
|
||||
Type,
|
||||
} from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
|
||||
import { AppCommonModule,AppCommonServiceModule,AuthConfigFactory,FM_COMMON_STARTPAGE } from '@farmmaps/common';
|
||||
import { AppCommonModule, AppCommonServiceModule, AuthConfigFactory, FM_COMMON_STARTPAGE } from '@farmmaps/common';
|
||||
|
||||
import {AppRootComponent} from './app.component';
|
||||
import { AppRootComponent } from './app.component';
|
||||
|
||||
import {StoreModule, ActionReducer,MetaReducer} from '@ngrx/store';
|
||||
import {EffectsModule, EffectSources} from '@ngrx/effects';
|
||||
import { StoreRouterConnectingModule,routerReducer} from '@ngrx/router-store';
|
||||
import { EffectSources, EffectsModule } from '@ngrx/effects';
|
||||
import { StoreRouterConnectingModule, routerReducer } from '@ngrx/router-store';
|
||||
import { ActionReducer, MetaReducer, StoreModule } from '@ngrx/store';
|
||||
|
||||
import {AppRoutingModule} from './app-routing.module';
|
||||
import { AppRoutingModule } from './app-routing.module';
|
||||
import { Id4AuthconfigFactory } from './id4AuthconfigFactory';
|
||||
import { LandingpageComponent } from './landingpage/landingpage.component';
|
||||
import { LogoComponent } from './logo/logo.component';
|
||||
import { MenuComponent } from './menu/menu.component';
|
||||
import {RegisterDeviceComponent} from './registerdevice/registerdevice.component';
|
||||
import { SecureOAuthStorage} from '@farmmaps/common';
|
||||
import { OAuthStorage } from 'angular-oauth2-oidc';
|
||||
import {Id4AuthconfigFactory} from './id4AuthconfigFactory';
|
||||
import { RegisterDeviceComponent } from './registerdevice/registerdevice.component';
|
||||
import { TestComponent } from './test/test.component';
|
||||
import { LandingpageComponent } from './landingpage/landingpage.component';
|
||||
|
||||
export const BOOTSTRAP_EFFECTS = new InjectionToken('Bootstrap Effects');
|
||||
|
||||
|
@@ -1,6 +1,4 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ItemService} from '@farmmaps/common';
|
||||
import { Observable} from 'rxjs';
|
||||
|
||||
@Component({
|
||||
selector: 'app-test',
|
||||
@@ -11,7 +9,7 @@ export class LandingpageComponent implements OnInit {
|
||||
|
||||
//public gradientItems:Observable<any[]>
|
||||
|
||||
constructor(private itemService$:ItemService) {
|
||||
constructor() {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
@@ -20,7 +20,7 @@ export class TestComponent implements OnInit {
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
onTest(Event) {
|
||||
onTest() {
|
||||
const a = {"unread":"1"}
|
||||
this.store$.dispatch(new commonActions.NotificationEvent(a));
|
||||
}
|
||||
|
Reference in New Issue
Block a user