From 47caff5c7e0fc61eca07d9718006c94b25d09ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Sat, 9 May 2026 20:44:05 +0400 Subject: [PATCH] =?UTF-8?q?fix:=20clone=20=E2=80=94=20delay=20800ms=20befo?= =?UTF-8?q?re=20reloadAll=20to=20avoid=20race=20with=20k8s=20list=20(v1.3.?= =?UTF-8?q?83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- console/deploy/console.yaml | 2 +- console/ui/index.html | 4 ++-- console/ui/js/functions.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/console/deploy/console.yaml b/console/deploy/console.yaml index 931d41c..4bd2ed7 100644 --- a/console/deploy/console.yaml +++ b/console/deploy/console.yaml @@ -55,7 +55,7 @@ spec: serviceAccountName: fission-console containers: - name: console - image: naeel/fission-console:v1.3.82 + image: naeel/fission-console:v1.3.83 imagePullPolicy: Always ports: - containerPort: 8090 diff --git a/console/ui/index.html b/console/ui/index.html index ad458a1..08f6070 100644 --- a/console/ui/index.html +++ b/console/ui/index.html @@ -102,7 +102,7 @@
NUBES
FISSION CONSOLE
-
v1.3.82
+
v1.3.83
@@ -522,7 +522,7 @@
- v1.3.82 + v1.3.83
diff --git a/console/ui/js/functions.js b/console/ui/js/functions.js index 6c92ea5..1b96936 100644 --- a/console/ui/js/functions.js +++ b/console/ui/js/functions.js @@ -451,7 +451,7 @@ async function submitClone() { // Успех — закрываем модалку, обновляем список closeEdit(); setStatus('Функция «' + newName + '» создана как копия «' + srcName + '»', false); - await reloadAll(); + setTimeout(function() { reloadAll(); }, 800); } catch(e) { if (errEl) { errEl.textContent = e.message; errEl.style.display = 'block'; } } finally {