fixed wrong existance check for new serv entries

This commit is contained in:
Daniel Schick 2024-07-22 13:58:48 +02:00
parent ee6658bafd
commit f6d74e87db

View File

@ -480,7 +480,7 @@ namespace ENI2.DetailViewControls
bool found = false; bool found = false;
foreach (SERV serv in this._servMessage.Elements) foreach (SERV serv in this._servMessage.Elements)
{ {
if (serv.ServiceName.Equals("FCT JUNGE")) if (serv.ServiceName.Equals("Fct Junge - Hamburg"))
found = true; found = true;
} }
@ -503,7 +503,7 @@ namespace ENI2.DetailViewControls
bool found = false; bool found = false;
foreach (SERV serv in this._servMessage.Elements) foreach (SERV serv in this._servMessage.Elements)
{ {
if (serv.ServiceName.Equals("ELBE BULK")) if (serv.ServiceName.Equals("Elbe Bulk Schiffe - Hamburg"))
found = true; found = true;
} }