Fixed optional message handling

This commit is contained in:
Thorsten Sommer 2025-04-17 11:57:03 +02:00
parent 610ae1c232
commit 06fcaf7f8f
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -66,11 +66,9 @@ public abstract class MSGComponentBase : ComponentBase, IDisposable, IMessageBus
this.Lang = await this.SettingsManager.GetActiveLanguagePlugin();
await this.InvokeAsync(this.StateHasChanged);
break;
default:
await this.ProcessIncomingMessage(sendingComponent, triggeredEvent, data);
break;
}
await this.ProcessIncomingMessage(sendingComponent, triggeredEvent, data);
}
public async Task<TResult?> ProcessMessageWithResult<TPayload, TResult>(ComponentBase? sendingComponent, Event triggeredEvent, TPayload? data)