Update the graph when you add/remove files
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
<mat-form-field class="w-50" appearance="fill">
|
||||
<mat-label>Add Holding</mat-label>
|
||||
<mat-chip-list #chipList>
|
||||
<mat-chip *ngFor="let holding of graphHoldings; let i = index" [removable]="true" (removed)="graphHoldings.splice(i, 1); updateGraph()">
|
||||
<mat-chip *ngFor="let holding of graphHoldings; let i = index" [removable]="true" (removed)="graphHoldings.splice(i, 1); updateGraph();">
|
||||
{{holding}}
|
||||
<mat-icon matChipRemove>cancel</mat-icon>
|
||||
</mat-chip>
|
||||
@ -39,7 +39,7 @@
|
||||
[matChipInputFor]="chipList"
|
||||
(keyup)="search($event.target.value)">
|
||||
</mat-chip-list>
|
||||
<mat-autocomplete #auto="matAutocomplete" (optionSelected)="updateGraph($event.option.value); holdingInput.blur()">
|
||||
<mat-autocomplete #auto="matAutocomplete" (optionSelected)="updateGraph($event.option.value); holdingInput.blur();">
|
||||
<mat-option *ngFor="let holding of autoCompleteList | async" [value]="holding">
|
||||
{{holding}}
|
||||
</mat-option>
|
||||
|
Reference in New Issue
Block a user