Fix rename Channel
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Test.UI.Components.Pages
|
||||
public partial class Aedifica : IDisposable
|
||||
{
|
||||
|
||||
private string subChannel = "";
|
||||
private string channelSub = "";
|
||||
private string CalcUid = "TestBeam";
|
||||
private string currSvg = "";
|
||||
private string apiUrl = "";
|
||||
@@ -51,7 +51,7 @@ namespace Test.UI.Components.Pages
|
||||
GenericBasePath = Config.GetValue<string>("ServerConf:GenericBaseUrl") ?? "";
|
||||
//imgTag = Config.GetValue<string>("ServerConf:ImageFileTag") ?? "";
|
||||
calcTag = Config.GetValue<string>("ServerConf:CalcTag") ?? "";
|
||||
subChannel = Config.GetValue<string>("ServerConf:SvgChannel") ?? "";
|
||||
channelSub = Config.GetValue<string>("ServerConf:ChannelSvg") ?? "";
|
||||
}
|
||||
|
||||
private async Task SendBtlRequest(Dictionary<string, string> CurrArgs)
|
||||
@@ -74,7 +74,7 @@ namespace Test.UI.Components.Pages
|
||||
// conversione on-the-fly SVG da mostrare
|
||||
if (!string.IsNullOrEmpty(currArgs.newMessage))
|
||||
{
|
||||
if (currArgs.msgUid.Equals($"{subChannel}:{CalcUid}"))
|
||||
if (currArgs.msgUid.Equals($"{channelSub}:{CalcUid}"))
|
||||
{
|
||||
currSvg = currArgs.newMessage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user