fix
Some checks failed
BlockStorage/repertory_mac/pipeline/head There was a failure building this commit
BlockStorage/repertory/pipeline/head There was a failure building this commit

This commit is contained in:
2025-09-08 07:54:40 -05:00
parent 4a91d29490
commit 5597c7b802

View File

@@ -97,8 +97,8 @@ mgmt_app_config::mgmt_app_config(bool hidden, bool launch_only)
api_user_ = data.at(JSON_API_USER).get<std::string>();
auto should_save{not data.contains(JSON_AUTO_START)};
auto_start_ =
should_save ? auto_start_ : data.at(JSON_AUTO_START).get<bool>();
auto_start_ = should_save ? auto_start_.load()
: data.at(JSON_AUTO_START).get<bool>();
if (data.contains(JSON_ANIMATIONS)) {
animations_ = data.at(JSON_ANIMATIONS).get<bool>();