You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/07/28 11:26:10 UTC
[incubator-streampipes] 03/03: [hotfix] Add loading spinner to tree input
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit 83d1ec096aa15d9a8752218017816bcf94c6a44b
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Thu Jul 28 13:25:55 2022 +0200
[hotfix] Add loading spinner to tree input
---
.../static-tree-input.component.html | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/ui/src/app/core-ui/static-properties/static-runtime-resolvable-tree-input/static-tree-input.component.html b/ui/src/app/core-ui/static-properties/static-runtime-resolvable-tree-input/static-tree-input.component.html
index 753c76ad5..c9216e29c 100644
--- a/ui/src/app/core-ui/static-properties/static-runtime-resolvable-tree-input/static-tree-input.component.html
+++ b/ui/src/app/core-ui/static-properties/static-runtime-resolvable-tree-input/static-tree-input.component.html
@@ -20,10 +20,15 @@
<div>
<button mat-button mat-raised-button color="accent" class="small-button"
(click)="loadOptionsFromRestApi()"
- style="margin-right:10px;margin-left:10px;" [disabled]="!showOptions">
+ style="margin-right:10px;" [disabled]="!showOptions">
<span>Reload</span>
</button>
</div>
+ <div fxLayout="column" *ngIf="loading" class="mt-10">
+ <mat-spinner color="accent"
+ [mode]="'indeterminate'"
+ [diameter]="20"></mat-spinner>
+ </div>
<mat-tree [dataSource]="dataSource" [treeControl]="treeControl" class="sp-tree">
<mat-tree-node *matTreeNodeDef="let node" matTreeNodeToggle>
<mat-checkbox color="accent"