feat: allow using suite on non-nixos systems
This commit is contained in:
63 files changed
+3572
-523
No files matched your search
@@ -558,7 +558,7 @@ class ProxyTui(App):
|
||||
|
||||
def check_action(self, action, parameters):
|
||||
if action in ("retry_root", "switch_root"):
|
||||
return not model.is_root()
|
||||
return model.can_elevate()
|
||||
# A row action that does not apply: its key does nothing.
|
||||
if action != "act" or self.screen is not self.main:
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user