mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
remove unused disabled$ variable
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
class="btn btn-outline-primary"
|
class="btn btn-outline-primary"
|
||||||
(blur)="onClose()"
|
(blur)="onClose()"
|
||||||
(click)="onClose()"
|
(click)="onClose()"
|
||||||
[disabled]="(disabled$ | async) || (processingChange$ | async)"
|
[disabled]="(processingChange$ | async)"
|
||||||
ngbDropdownToggle>
|
ngbDropdownToggle>
|
||||||
<span *ngIf="(processingChange$ | async)"><i class='fas fa-circle-notch fa-spin'></i></span>
|
<span *ngIf="(processingChange$ | async)"><i class='fas fa-circle-notch fa-spin'></i></span>
|
||||||
<span *ngIf="!(processingChange$ | async)">{{ selectedCollectionName$ | async }}</span>
|
<span *ngIf="!(processingChange$ | async)">{{ selectedCollectionName$ | async }}</span>
|
||||||
|
@@ -63,12 +63,6 @@ export class SubmissionFormCollectionComponent implements OnChanges, OnInit {
|
|||||||
*/
|
*/
|
||||||
@Output() collectionChange: EventEmitter<SubmissionObject> = new EventEmitter<SubmissionObject>();
|
@Output() collectionChange: EventEmitter<SubmissionObject> = new EventEmitter<SubmissionObject>();
|
||||||
|
|
||||||
/**
|
|
||||||
* A boolean representing if this dropdown button is disabled
|
|
||||||
* @type {BehaviorSubject<boolean>}
|
|
||||||
*/
|
|
||||||
public disabled$ = new BehaviorSubject<boolean>(true);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A boolean representing if a collection change operation is processing
|
* A boolean representing if a collection change operation is processing
|
||||||
* @type {BehaviorSubject<boolean>}
|
* @type {BehaviorSubject<boolean>}
|
||||||
|
Reference in New Issue
Block a user