From b5b661e9829f4c91f9a6057b3dc6da66b442a2ee Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Thu, 22 May 2025 23:11:53 +0200 Subject: [PATCH] Move attribute down (less important) --- server/settings/tools.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/server/settings/tools.py b/server/settings/tools.py index 2b33efaa8b..815ef40f8e 100644 --- a/server/settings/tools.py +++ b/server/settings/tools.py @@ -342,14 +342,6 @@ class CustomStagingDirProfileModel(BaseSettingsModel): class PublishToolModel(BaseSettingsModel): - comment_minimum_required_chars: int = SettingsField( - 0, - title="Publish comment minimum required characters", - description=( - "Minimum number of characters required in the comment field " - "before the publisher UI is allowed to continue publishing" - ) - ) template_name_profiles: list[PublishTemplateNameProfile] = SettingsField( default_factory=list, title="Template name profiles" @@ -366,6 +358,14 @@ class PublishToolModel(BaseSettingsModel): title="Custom Staging Dir Profiles" ) ) + comment_minimum_required_chars: int = SettingsField( + 0, + title="Publish comment minimum required characters", + description=( + "Minimum number of characters required in the comment field " + "before the publisher UI is allowed to continue publishing" + ) + ) class GlobalToolsModel(BaseSettingsModel): @@ -578,7 +578,6 @@ DEFAULT_TOOLS_VALUES = { "product_type_filter_profiles": [] }, "publish": { - "comment_minimum_required_chars": 0, "template_name_profiles": [ { "product_types": [], @@ -680,6 +679,7 @@ DEFAULT_TOOLS_VALUES = { "task_names": [], "template_name": "simpleUnrealTextureHero" } - ] + ], + "comment_minimum_required_chars": 0, } }