@if (deviceType !== 'mobile' && !searchFormControl.value) {
/
} @if (searchFormControl.value) {
} @else {
}
@if (searchFormControl.value) {
@if ( !isLoading.accounts && !isLoading.assetProfiles && !isLoading.holdings && !isLoading.quickLinks && searchResults.accounts?.length === 0 && searchResults.assetProfiles?.length === 0 && searchResults.holdings?.length === 0 && searchResults.quickLinks?.length === 0 ) {
No results found...
} @else { @if ( isLoading.quickLinks || searchResults?.quickLinks?.length !== 0 ) {
Quick Links
@for ( searchResultItem of searchResults.quickLinks; track searchResultItem ) { } @if (isLoading.quickLinks) { }
} @if (isLoading.accounts || searchResults?.accounts?.length !== 0) {
Accounts
@for ( searchResultItem of searchResults.accounts; track searchResultItem ) { } @if (isLoading.accounts) { }
} @if (isLoading.holdings || searchResults?.holdings?.length !== 0) {
Holdings
@for ( searchResultItem of searchResults.holdings; track searchResultItem ) { } @if (isLoading.holdings) { }
} @if ( hasPermissionToAccessAdminControl && (isLoading.assetProfiles || searchResults?.assetProfiles?.length !== 0) ) {
Asset Profiles
@for ( searchResultItem of searchResults.assetProfiles; track searchResultItem ) { } @if (isLoading.assetProfiles) { }
} }
}
@if (!searchFormControl.value) {
Date Range @for ( dateRangeOption of dateRangeOptions; track dateRangeOption.value ) { {{ dateRangeOption.label }} }
}