diff --git a/frontend/src/version.json b/frontend/src/version.json index 4e27084e..b70ec6a5 100644 --- a/frontend/src/version.json +++ b/frontend/src/version.json @@ -1 +1 @@ -{"version":"1.5.0","build_id":32,"total_build":102} \ No newline at end of file +{"version":"1.5.0","build_id":40,"total_build":110} \ No newline at end of file diff --git a/frontend/src/views/domain/DomainEdit.vue b/frontend/src/views/domain/DomainEdit.vue index 9ffe4cef..aed2fdbf 100644 --- a/frontend/src/views/domain/DomainEdit.vue +++ b/frontend/src/views/domain/DomainEdit.vue @@ -104,6 +104,14 @@ function disable() { message.error(interpolate($gettext('Failed to disable %{msg}'), {msg: r.message ?? ''})) }) } + +function on_change_enabled(checked: boolean) { + if (checked) { + enable() + } else { + disable() + } +}