fix: change subject title

This commit is contained in:
GareArc
2025-03-17 15:34:28 -04:00
parent 56aaee5558
commit d38f2cb380
3 changed files with 11 additions and 7 deletions

View File

@ -198,8 +198,8 @@ class FeatureService:
@classmethod
def get_enterprise_application_title(cls):
branding = cls.get_system_features().get("branding", None)
branding = cls.get_system_features().branding
application_title = "Dify"
if branding and branding.get("enabled", False):
application_title = branding.get("application_title", "Dify")
if branding.enabled:
application_title = branding.application_title
return application_title