Skip to content
Snippets Groups Projects
Commit 74d4e894 authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: added regional features not found

parent 896c89d6
No related branches found
No related tags found
No related merge requests found
...@@ -11,3 +11,4 @@ ...@@ -11,3 +11,4 @@
- added visual indication when a new template is being loaded - added visual indication when a new template is being loaded
- reworked visual for `supported template` in region side panel - reworked visual for `supported template` in region side panel
- improve performance by disabling `zone.js` patch of `requestAnimationFrame` and change detection strategy of nehuba viewer - improve performance by disabling `zone.js` patch of `requestAnimationFrame` and change detection strategy of nehuba viewer
- added message when no regional features found (#1111)
...@@ -33,9 +33,17 @@ ...@@ -33,9 +33,17 @@
[attr.aria-label]="ARIA_LABELS.LIST_OF_DATASETS_ARIA_LABEL"> [attr.aria-label]="ARIA_LABELS.LIST_OF_DATASETS_ARIA_LABEL">
<!-- if busy, show spinner --> <!-- if busy, show spinner -->
<ng-template [ngIf]="busy$ | async"> <ng-template [ngIf]="busy$ | async" [ngIfElse]="notBusyTmpl">
<ng-template [ngTemplateOutlet]="busyTmpl"></ng-template> <ng-template [ngTemplateOutlet]="busyTmpl"></ng-template>
</ng-template> </ng-template>
<ng-template #notBusyTmpl>
<ng-template [ngIf]="registeredFeatures.length === 0">
<span class="text-muted">
No regional features found.
</span>
</ng-template>
</ng-template>
<div *ngFor="let feature of registeredFeatures; let index = index" <div *ngFor="let feature of registeredFeatures; let index = index"
class="overflow-hidden"> class="overflow-hidden">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment