Browse Source

Add filter.

pull/5361/head
Szymon 2 weeks ago
parent
commit
86f2818ed4
  1. 1
      libs/common/src/lib/interfaces/filter.interface.ts
  2. 3
      libs/ui/src/lib/assistant/assistant.component.ts

1
libs/common/src/lib/interfaces/filter.interface.ts

@ -10,5 +10,6 @@ export interface Filter {
| 'PRESET_ID' | 'PRESET_ID'
| 'SEARCH_QUERY' | 'SEARCH_QUERY'
| 'SYMBOL' | 'SYMBOL'
| 'BASE_CURRENCY'
| 'TAG'; | 'TAG';
} }

3
libs/ui/src/lib/assistant/assistant.component.ts

@ -354,8 +354,7 @@ export class GfAssistantComponent implements OnChanges, OnDestroy, OnInit {
this.currencies = this.info.currencies.map((currency) => { this.currencies = this.info.currencies.map((currency) => {
return { return {
id: currency.id, id: currency,
label: currency.id,
type: 'BASE_CURRENCY' type: 'BASE_CURRENCY'
}; };
}); });

Loading…
Cancel
Save