@if (loading) {

{{ t('loading') }}

} @if (!loading && author) {
{{ t('booksTab') }} @if (canEditMetadata) { {{ t('editTab') }} {{ t('matchTab') }} }
@if (hasPhoto) { } @else {
}

{{ author.name }}

@if (author.asin) { } @if (canEditMetadata) { }
@if (author.description) {
{{ author.description }}
@if (isExpanded || isOverflowing) { }
}
@if (authorBooks$ | async; as books) {

{{ t('booksBy', {name: author.name}) }} ({{ books.length }})

@if (books.length === 0) {

{{ t('noBooksFound') }}

} @else {
@for (book of scroll.viewPortItems; track book.id; let i = $index) {
}
}
}
@if (canEditMetadata) { }
}