diff --git a/src/atlasViewer/atlasViewer.template.html b/src/atlasViewer/atlasViewer.template.html index dc38728822d8207aed081e7a8d8f5e1525d0f15e..9af73820a2f1f0af77f20a177bb6d38c6e2cc8a3 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 126bf60267c0d1c9d2623a6b0845df497f004b04..9e73bca69af3c863bef1fd6982f5e920d102d175 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";