UI improvements
Build Docker and Deploy / Build Docker Container (push) Successful in 51s
Build Docker and Deploy / Run Unit-Tests (push) Successful in 7m29s
Build Docker and Deploy / Deploy to Server (push) Successful in 7s

This commit is contained in:
2026-01-19 19:19:43 +01:00
parent 1dafab8f5c
commit 9352ff5c2c
3 changed files with 13 additions and 19 deletions
@@ -16,7 +16,7 @@ import { SettingsService } from '../../../core/services/settings.service';
import { KeyCacheService, ResolvedKey } from '../../../core/services/key-cache.service';
import { UserCacheService, ResolvedUser } from '../../../core/services/user-cache.service';
import { ClientCacheService, ResolvedClient } from '../../../core/services/client-cache.service';
import { Message, Delivery } from '../../../core/models';
import { Message, Delivery, ClientPreview, UserPreview } from '../../../core/models';
import { CopyToClipboardDirective } from '../../../shared/directives/copy-to-clipboard.directive';
import { RelativeTimePipe } from '../../../shared/pipes/relative-time.pipe';
import { MetadataGridComponent, MetadataValueComponent } from '../../../shared/components/metadata-grid';
@@ -59,7 +59,7 @@ export class MessageDetailComponent implements OnInit {
resolvedKey = signal<ResolvedKey | null>(null);
resolvedChannelOwner = signal<ResolvedUser | null>(null);
deliveries = signal<Delivery[]>([]);
resolvedClients = signal<Map<string, ResolvedClient>>(new Map());
resolvedClients = signal<Map<string, {client: ClientPreview, user: UserPreview}>>(new Map());
loading = signal(true);
deleting = signal(false);
loadingDeliveries = signal(false);
@@ -139,7 +139,7 @@ export class MessageDetailComponent implements OnInit {
}
}
getResolvedClient(clientId: string): ResolvedClient | undefined {
getResolvedClient(clientId: string): {client: ClientPreview, user: UserPreview} | undefined {
return this.resolvedClients().get(clientId);
}