Skip to content

Commit 714c03c

Browse files
author
latentvector
committed
fam
1 parent 11e58bf commit 714c03c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

commune/remote/app.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ def app(cls, module: str = None, **kwargs):
2222

2323
self.filter_hosts_dashboard()
2424
tabs = st.tabs(['SSH', 'Manage Hosts'])
25-
self.manage_hosts()
2625

27-
self.ssh()
26+
with tabs[0]:
27+
self.ssh()
28+
with tabs[1]:
29+
self.manage_hosts()
2830

2931

3032
def edit_hosts(self):
@@ -63,7 +65,7 @@ def filter_hosts_dashboard(self, host_names: list = None, expanded: bool = True,
6365
n = len(host_names)
6466

6567
# get the search terms
66-
with st.expander(f'Hosts(n={n})', expanded=False):
68+
with st.expander(f'Hosts(n={n})', expanded=True):
6769
host_names = st.multiselect(f'Hosts', host_names, host_names)
6870
self._host_map = {k:host_map[k] for k in host_names}
6971
self.host2ssh = self.host2ssh(host_map=host_map)

0 commit comments

Comments
 (0)