@if (resource) {
@if ((storage | async)?._links.type.href === nextcloud) { } @else { } @if (openStorageLink) { }
@for (infoBox of storageErrors | async; track infoBox) { }
@if ((fileLinks | async)?.length > 0) { } @if (!allowUploading && (storageErrors | async)?.length === 0 && (fileLinks | async)?.length === 0) { } @if (allowUploading) { } @if (allowUploading && (storageErrors | async)?.length === 0) { } @if ((storageErrors | async)?.length === 0) {
@if (allowUploading) { } @if (allowLinking) { }
}
}