From 98a5c9d5623d9379392cac3ba0796f7effd8b007 Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Mon, 26 Oct 2020 18:25:38 +0100 Subject: [PATCH] chore: change place holder text --- common/constants.js | 3 ++- src/ui/nehubaContainer/nehubaContainer.component.ts | 1 - src/ui/nehubaContainer/nehubaContainer.template.html | 2 +- .../nehubaContainer/nehubaViewer/nehubaViewer.component.ts | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/constants.js b/common/constants.js index 1849b731b..f90d749f1 100644 --- a/common/constants.js +++ b/common/constants.js @@ -58,6 +58,7 @@ } exports.CONST = { - REGIONAL_FEATURES: 'Regional features' + REGIONAL_FEATURES: 'Regional features', + NO_ADDIONTAL_INFO_AVAIL: `Currently, no additional information is linked to this region.` } })(typeof exports === 'undefined' ? module.exports : exports) diff --git a/src/ui/nehubaContainer/nehubaContainer.component.ts b/src/ui/nehubaContainer/nehubaContainer.component.ts index 5e13e5789..bd425f8e3 100644 --- a/src/ui/nehubaContainer/nehubaContainer.component.ts +++ b/src/ui/nehubaContainer/nehubaContainer.component.ts @@ -1,7 +1,6 @@ import { Component, ElementRef, Input, OnChanges, OnDestroy, OnInit, ViewChild, ChangeDetectorRef, Output, EventEmitter, Inject, Optional } from "@angular/core"; import { select, Store } from "@ngrx/store"; import { combineLatest, fromEvent, merge, Observable, of, Subscription, timer, asyncScheduler, BehaviorSubject, Subject } from "rxjs"; -import { pipe } from "rxjs/internal/util/pipe"; import { buffer, debounceTime, distinctUntilChanged, filter, map, mapTo, scan, shareReplay, skip, startWith, switchMap, switchMapTo, take, tap, withLatestFrom, delayWhen, throttleTime } from "rxjs/operators"; import { trigger, state, style, animate, transition } from '@angular/animations' import { MatDrawer } from "@angular/material/sidenav"; diff --git a/src/ui/nehubaContainer/nehubaContainer.template.html b/src/ui/nehubaContainer/nehubaContainer.template.html index 308aab6c1..69a1497ad 100644 --- a/src/ui/nehubaContainer/nehubaContainer.template.html +++ b/src/ui/nehubaContainer/nehubaContainer.template.html @@ -387,7 +387,7 @@ <ng-template [ngIf]="iavDbDirective?.dataentries?.length === 0 && !(selectedParcellation?.hasAdditionalViewMode?.includes('connectivity'))"> <div class="p-4"> - No additional information on the selected region. + {{ CONST.NO_ADDIONTAL_INFO_AVAIL }} </div> </ng-template> diff --git a/src/ui/nehubaContainer/nehubaViewer/nehubaViewer.component.ts b/src/ui/nehubaContainer/nehubaViewer/nehubaViewer.component.ts index c65df9baa..c20f8f143 100644 --- a/src/ui/nehubaContainer/nehubaViewer/nehubaViewer.component.ts +++ b/src/ui/nehubaContainer/nehubaViewer/nehubaViewer.component.ts @@ -1,6 +1,6 @@ -import { Component, ElementRef, EventEmitter, OnDestroy, OnInit, Output, Renderer2, Optional, Inject } from "@angular/core"; -import { fromEvent, Subscription, ReplaySubject, Subject, BehaviorSubject, Observable } from 'rxjs' -import { debounceTime, filter, map, scan, startWith, debounce, tap } from "rxjs/operators"; +import { Component, ElementRef, EventEmitter, OnDestroy, OnInit, Output, Inject } from "@angular/core"; +import { fromEvent, Subscription, ReplaySubject, BehaviorSubject, Observable } from 'rxjs' +import { debounceTime, filter, map, scan, startWith, debounce } from "rxjs/operators"; import { AtlasWorkerService } from "src/atlasViewer/atlasViewer.workerService.service"; import { StateInterface as ViewerConfiguration } from "src/services/state/viewerConfig.store"; import { getNgIdLabelIndexFromId } from "src/services/stateStore.service"; -- GitLab