From 917c7147545664cfbf8330de63554d4b20aca349 Mon Sep 17 00:00:00 2001 From: Robin Leber <rleber98@gmail.com> Date: Fri, 5 Jul 2024 11:48:04 +0200 Subject: [PATCH] FIX: pausing --- src/functions/helperFunctions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions/helperFunctions.js b/src/functions/helperFunctions.js index 4795ba0..977181c 100644 --- a/src/functions/helperFunctions.js +++ b/src/functions/helperFunctions.js @@ -159,7 +159,7 @@ const deployArchitecture = async () => { const stopArchitecture = async () => { const customCodes = await getCustomCodes(); for (const customCode of customCodes) { - if (!customCode.isPaused) { + if (!customCode.isPaused && customCode.isDeployed) { await pauseDockerContainer(customCode.id); await setIsPaused(customCode.id); } -- GitLab