mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-31 07:35:24 +00:00
fix: pass the host id as text when opening its editor
This commit is contained in:
1 parent
44fa791c09
commit
95a00d841c
1 file changed
+1
-1
@@ -174,7 +174,7 @@ export function ShellControllerProvider({
|
|||||||
openHostEditor: (draft) =>
|
openHostEditor: (draft) =>
|
||||||
requestManage({ kind: "host", hostId: null, draft }),
|
requestManage({ kind: "host", hostId: null, draft }),
|
||||||
editHost: (hostId) => {
|
editHost: (hostId) => {
|
||||||
requestManage({ kind: "host", hostId });
|
requestManage({ kind: "host", hostId: String(hostId) });
|
||||||
if (isMobile) regions.left.setOpen(false);
|
if (isMobile) regions.left.setOpen(false);
|
||||||
},
|
},
|
||||||
saveQuickConnect: tabsState.saveQuickConnectHost,
|
saveQuickConnect: tabsState.saveQuickConnectHost,
|
||||||
|
|||||||
Reference in new issue
Block a user