S3 Storage korrektur
All checks were successful
Build & Deploy PLDpro.Web Test to 192.168.1.100 / build-and-deploy (push) Successful in 1m9s

This commit is contained in:
2026-01-24 20:58:15 +01:00
parent 0f39159d39
commit c72f6612fc
2 changed files with 4 additions and 4 deletions

View File

@@ -9,14 +9,14 @@
<MudText Typo="Typo.h4" GutterBottom="true">S3 Storage</MudText>
<MudPaper Class="pa-4 mb-4" Elevation="0">
<MudStack Row="true" Spacing="2" AlignItems="center">
<MudStack Row="true" Spacing="2">
<MudText Typo="Typo.h6">Buckets</MudText>
<MudSpacer />
<MudTextField @bind-Value="newBucketName" Placeholder="neuer Bucketname" Variant="Variant.Outlined" />
<MudButton Color="Color.Primary" Variant="Variant.Filled" OnClick="CreateBucket">Erstellen</MudButton>
</MudStack>
<MudList Dense="true" Class="mt-2">
<MudList T="BucketVm" Dense="true" Class="mt-2">
@if (buckets is null)
{
<MudListItem>(lädt...)</MudListItem>
@@ -42,7 +42,7 @@
@if (!string.IsNullOrEmpty(selectedBucket))
{
<MudPaper Class="pa-4" Elevation="0">
<MudStack Row="true" Spacing="2" AlignItems="center">
<MudStack Row="true" Spacing="2">
<MudText Typo="Typo.h6">Objekte in '@selectedBucket'</MudText>
<MudSpacer />
<InputFile OnChange="OnFilesSelected" />

View File

@@ -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;