From f6847373b719f2bcc76811e6101073a4410c8f34 Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Mon, 8 Oct 2018 16:17:03 +0200 Subject: [PATCH] chore --- src/atlasViewer/atlasViewer.template.html | 10 ---------- src/ui/databrowser/databrowser.component.ts | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/atlasViewer/atlasViewer.template.html b/src/atlasViewer/atlasViewer.template.html index dc3872882..9af73820a 100644 --- a/src/atlasViewer/atlasViewer.template.html +++ b/src/atlasViewer/atlasViewer.template.html @@ -159,13 +159,3 @@ <markdown-dom *ngIf = "!meetsRequirement" [markdown] = "constantsService.doesNotMeetRequirementMD" > </markdown-dom> - -<ng-template #dedicatedViewerToast> - <!-- <div *ngIf = "dedicatedView$ | async"> - <span dedicatedviewertext>displaying : {{ dedicatedView$ | async | getFilenameFromPathname }}. </span> - <span (click) = "clearDedicatedView()" class = "btn btn-link">clear</span> - </div> --> - <div *ngIf = "!(dedicatedView$ | async)"> - no special data is being displayed right now - </div> -</ng-template> diff --git a/src/ui/databrowser/databrowser.component.ts b/src/ui/databrowser/databrowser.component.ts index 126bf6026..9e73bca69 100644 --- a/src/ui/databrowser/databrowser.component.ts +++ b/src/ui/databrowser/databrowser.component.ts @@ -1,6 +1,6 @@ import { Component, OnDestroy, ComponentFactoryResolver, ComponentFactory, OnInit, Injector } from "@angular/core"; import { Store, select } from "@ngrx/store"; -import { DataStateInterface, Property, safeFilter, DataEntry, File, SELECT_REGIONS, getLabelIndexMap, LOAD_DEDICATED_LAYER, UNLOAD_DEDICATED_LAYER, FETCHED_SPATIAL_DATA, isDefined, SPATIAL_GOTO_PAGE, CHANGE_NAVIGATION, UPDATE_SPATIAL_DATA_VISIBLE, DESELECT_REGIONS, DESELECT_LANDMARKS, SELECT_LANDMARKS } from "../../services/stateStore.service"; +import { DataStateInterface, Property, safeFilter, DataEntry, File, SELECT_REGIONS, getLabelIndexMap, isDefined, SPATIAL_GOTO_PAGE, CHANGE_NAVIGATION, UPDATE_SPATIAL_DATA_VISIBLE, DESELECT_REGIONS, DESELECT_LANDMARKS, SELECT_LANDMARKS } from "../../services/stateStore.service"; import { map, filter, take, distinctUntilChanged } from "rxjs/operators"; import { HasPathProperty } from "../../util/pipes/pathToNestedChildren.pipe"; import { TreeComponent } from "../../components/tree/tree.component"; -- GitLab