mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 22:29:38 +00:00
Fix status bar
This commit is contained in:
@@ -7,7 +7,11 @@
|
||||
<div class="form-control w-full">
|
||||
<input type="text" [formControl]="searchControl" placeholder="Search..." class="input input-bordered pr-14" />
|
||||
</div>
|
||||
<i class="bi bi-search -ml-9"></i>
|
||||
@if (searchLoading) {
|
||||
<span class="loading loading-spinner loading-sm self-center -ml-9"></span>
|
||||
} @else {
|
||||
<i class="bi bi-search -ml-9"></i>
|
||||
}
|
||||
</div>
|
||||
<div class="flex">
|
||||
<!-- Instrument Dropdown -->
|
||||
|
||||
@@ -67,6 +67,9 @@ export class SearchBarComponent implements OnInit, AfterViewInit {
|
||||
get instrument() {
|
||||
return this.searchService.instrument.value
|
||||
}
|
||||
get searchLoading() {
|
||||
return this.searchService.searchLoading
|
||||
}
|
||||
setInstrument(instrument: Instrument | null, event: MouseEvent) {
|
||||
this.searchService.instrument.setValue(instrument)
|
||||
if (event.target instanceof HTMLElement) {
|
||||
|
||||
Reference in New Issue
Block a user