mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
Added parameter to hide loading message
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div>
|
||||
<label *ngIf="message">{{ message }}</label>
|
||||
<label *ngIf="showMessage && message">{{ message }}</label>
|
||||
<div class="loader">
|
||||
<span class="l-1"></span>
|
||||
<span class="l-2"></span>
|
||||
|
@@ -12,6 +12,7 @@ import { Subscription } from 'rxjs/Subscription';
|
||||
export class LoadingComponent implements OnDestroy, OnInit {
|
||||
|
||||
@Input() message: string;
|
||||
@Input() showMessage = true;
|
||||
|
||||
private subscription: Subscription;
|
||||
|
||||
|
Reference in New Issue
Block a user