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 2024-03-07 18:00:21 -08:00 committed by James Valleroy
parent 524fdf6049
commit 0edb6a1219
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

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__()