diff --git a/Components/Pages/Storage.razor b/Components/Pages/Storage.razor index e2e64a5..3e9fe65 100644 --- a/Components/Pages/Storage.razor +++ b/Components/Pages/Storage.razor @@ -9,14 +9,14 @@ S3 Storage - + Buckets Erstellen - + @if (buckets is null) { (lädt...) @@ -42,7 +42,7 @@ @if (!string.IsNullOrEmpty(selectedBucket)) { - + Objekte in '@selectedBucket' diff --git a/Services/S3StorageService.cs b/Services/S3StorageService.cs index dc27365..5faf8ca 100644 --- a/Services/S3StorageService.cs +++ b/Services/S3StorageService.cs @@ -35,7 +35,7 @@ public sealed class S3StorageService(IAmazonS3 s3) : IStorageService }, ct); items.AddRange(resp.S3Objects.Select(o => new ObjectItem(o.Key, o.Size, o.LastModified))); - token = resp.IsTruncated ? resp.NextContinuationToken : null; + token = (bool)resp.IsTruncated ? resp.NextContinuationToken : null; } while (token is not null); return items;