mirror of
https://github.com/andwati/dokploy.git
synced 2026-12-05 17:18:47 +00:00
fix: reset stack log selection when switching modes
This commit is contained in:
@@ -110,6 +110,7 @@ export const ShowDockerLogsStack = ({
|
|||||||
<Switch
|
<Switch
|
||||||
checked={option === "native"}
|
checked={option === "native"}
|
||||||
onCheckedChange={(checked) => {
|
onCheckedChange={(checked) => {
|
||||||
|
setContainerId(undefined);
|
||||||
setOption(checked ? "native" : "swarm");
|
setOption(checked ? "native" : "swarm");
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user