@if(showOverlay()) {
@switch (mode()) { @case (BookLineOverlayMode.None) {
@if (!hasSelectedAnnotation()) {
}
} @case (BookLineOverlayMode.Annotate) { } @case (BookLineOverlayMode.Bookmark) {
@if (bookmarkForm.dirty || bookmarkForm.touched) {
@if (bookmarkForm.get('name')?.errors?.required) {
{{t('required-field')}}
}
}
} }
}