mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
backups: Don't show enable/disable button as app can't be disabled
Fixes: #2472. Tests: - On backups page, the enable/disable toggle button is not visible anymore. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
397a67329b
commit
f2bceb48cf
@ -35,6 +35,8 @@ class BackupsApp(app_module.App):
|
|||||||
|
|
||||||
_version = 3
|
_version = 3
|
||||||
|
|
||||||
|
can_be_disabled = False
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
"""Create components for the app."""
|
"""Create components for the app."""
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user