@if (components.ClientMatchSpiderChart === config?.component) { } @else if (components.ClientMatchTraitChart === config?.component) {
} @if (config.default || !clientMatches?.length) { @for (match of defaultNumberOfItems; let i = $index; track match) { } } @else { @for (match of clientMatches; let i = $index; track match._id) { @if (config?.chatAdsTemplate && i === 0) { } } } @switch (config?.component) { @case (components.ChatScheduler) { @if (config.default || !(config?.schedulers$ | async)?.length) { @for (item of defaultNumberOfItems; track $index) {
} } @else { @for (scheduler of config?.schedulers$ | async; let i = $index; track scheduler) {
} } } @case (components.ChatHandoff) { @if (config.default || !(config?.chats$ | async)?.length) { @for (chat of defaultNumberOfItems; let i = $index; track chat) { } } @else { @for (chat of config?.chats$ | async; let i = $index; track chat.prospectId) {
} } } }
{{ emptyMessage }}