@if ((kbs | async) !== null || (arags | async) !== null) {
@if (!standalone) { @if (hasSeveralAccounts | async) { {{ 'generic.back' | translate }} } @else { {{ 'generic.logout' | translate }} } }

{{ (account | async)?.title }}

@if (canManage | async) { }
@let isAragEnabled = isRetrievalAgentEnabled | async; @let kbList = kbs | async; @let kbCount = (kbList || []).length; @let aragList = arags | async; @let aragCount = (aragList || []).length; @let showList = isAragEnabled ? (kbCount > 0 || aragCount > 0) : kbCount > 0; @if (showList) {
@if (!standalone && isAragEnabled) { @for (arag of aragList; track arag.id) { @if (arag.id) { {{ arag.title }} } } } @if (!inRaoApp) { @for (kb of kbList; track kb.id) { @if (kb.id) { @if (standalone) { } @else { } {{ kb.title }} } } }
} @else {
{{ 'stash.no_knowledge_boxes' | translate }}
@if ((canAddKb | async) === false) {
{{ 'stash.contact_admin' | translate }}
}
}
}