Clear Module Message Proir To Adding A Message To UI

This commit is contained in:
Cody 2023-12-29 12:49:49 -08:00 committed by GitHub
parent b0a079dce9
commit 9b24e61033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,6 +266,7 @@ namespace Oqtane.Modules
public void AddModuleMessage(string message, MessageType type, string position) public void AddModuleMessage(string message, MessageType type, string position)
{ {
ClearModuleMessage();
ModuleInstance.AddModuleMessage(message, type, position); ModuleInstance.AddModuleMessage(message, type, position);
} }