Missing titles

This commit is contained in:
2025-04-15 16:27:30 +02:00
parent 26401d542a
commit dc6195e74d

View File

@@ -19,13 +19,13 @@ namespace BeWo.Services
{UIContext.Customer, "Klienten Übersicht KI Chat" },
{UIContext.Person, "Personen Übersicht KI Chat" },
{UIContext.Employee, "Mitarbeiter Übersicht KI Chat" },
{UIContext.Organisation, "Organisation Übersicht KI Chat" },
{UIContext.SupportConcept, "Hilfeplan Übersicht KI Chat" },
};
public AnimatedBeWoWindow GetAiConversationWindow(UIContext uIContext, Control control, double height = 600, double width = 1200)
{
string title = null;
UIContext2Header.TryGetValue(uIContext, out title);
UIContext2Header.TryGetValue(uIContext, out string title);
if (string.IsNullOrEmpty(title))
title = "default";