zoph: Hide configuration form when app is disabled

- MySQL server may be disabled when zoph is disabled. Trying to retrieve
configuration or trying to set the configuration at the time will result in
failures. So, disable the configuration form so that get/set of configuration
does not happen.

Tests:

- Disable zoph. Configuration form will disappear. Re-enable zoph, configuration
form will reappear.

- Functional tests for zoph pass.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2024-03-11 16:50:16 -04:00
1 parent 524fdf6049
commit 0edb6a1219
1 file changed
+2
+2
View File
@@ -46,6 +46,8 @@ class ZophApp(app_module.App):
_version = 2
configure_when_disabled = False
def __init__(self) -> None:
"""Create components for the app."""
super().__init__()