Agent Zero AI framework
fix: apply btn-field class to disabled update buttons in self-update modal
frdel0bbc657dd3ef
diff --git a/tests/test_self_update_tag_filter.py b/tests/test_self_update_tag_filter.pyindex b0a3d3376..ef1e3b0a2 100644--- a/tests/test_self_update_tag_filter.py+++ b/tests/test_self_update_tag_filter.py@@ -569,6 +569,8 @@ def test_self_update_modal_uses_standard_select_and_manual_backup():assert "quickComparisonIcon" in contentassert "quickComparisonIconClass" in contentassert "{ spinning: $store.selfUpdateStore.isCheckingStatus }" in content+ assert "{ 'btn-field': !$store.selfUpdateStore.quickUpdateAvailable }" in content+ assert "{ 'btn-field': !$store.selfUpdateStore.canScheduleUpdate }" in contentassert "formatReleaseTimestamp($store.selfUpdateStore.currentReleasedAt)" in contentassert "formatReleaseTimestamp($store.selfUpdateStore.mainBranchLatestReleasedAt)" in contentassert "Latest version" in contentdiff --git a/webui/components/settings/external/self-update-modal.html b/webui/components/settings/external/self-update-modal.htmlindex 13dd5622f..c822642ec 100644--- a/webui/components/settings/external/self-update-modal.html+++ b/webui/components/settings/external/self-update-modal.html@@ -475,6 +475,7 @@<buttontype="button"class="btn btn-ok"+ :class="{ 'btn-field': !$store.selfUpdateStore.quickUpdateAvailable }"@click="$store.selfUpdateStore.scheduleQuickUpdate()":disabled="!$store.selfUpdateStore.quickUpdateAvailable">@@ -485,6 +486,7 @@<buttontype="button"class="btn btn-ok"+ :class="{ 'btn-field': !$store.selfUpdateStore.canScheduleUpdate }"@click="$store.selfUpdateStore.scheduleUpdate()":disabled="!$store.selfUpdateStore.canScheduleUpdate">