fix: reset stack log selection when switching modes

This commit is contained in:
Thai Nguyen
2026-08-18 22:10:54 +07:00
parent 49055a05b1
commit 60612b0986
@@ -110,6 +110,7 @@ export const ShowDockerLogsStack = ({
<Switch
checked={option === "native"}
onCheckedChange={(checked) => {
setContainerId(undefined);
setOption(checked ? "native" : "swarm");
}}
/>