fix: clone — delay 800ms before reloadAll to avoid race with k8s list (v1.3.83)

This commit is contained in:
“Naeel”
2026-05-09 20:44:05 +04:00
parent 26728aadbe
commit 47caff5c7e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ spec:
serviceAccountName: fission-console serviceAccountName: fission-console
containers: containers:
- name: console - name: console
image: naeel/fission-console:v1.3.82 image: naeel/fission-console:v1.3.83
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 8090 - containerPort: 8090
+2 -2
View File
@@ -102,7 +102,7 @@
<div class="nubes">NUBES</div> <div class="nubes">NUBES</div>
<div class="product">FISSION CONSOLE</div> <div class="product">FISSION CONSOLE</div>
</div> </div>
<div style="font-size:0.65rem; color:var(--text-secondary); margin-left:10px; align-self:center; opacity:0.7;">v1.3.82</div> <div style="font-size:0.65rem; color:var(--text-secondary); margin-left:10px; align-self:center; opacity:0.7;">v1.3.83</div>
</div> </div>
<div class="row" style="margin:0;"> <div class="row" style="margin:0;">
<button class="btn ghost" onclick="reloadAll()">Refresh</button> <button class="btn ghost" onclick="reloadAll()">Refresh</button>
@@ -522,7 +522,7 @@
</div> </div>
<div class="actions" style="justify-content:space-between; align-items:center;"> <div class="actions" style="justify-content:space-between; align-items:center;">
<span style="font-size:0.75rem; color:var(--text-secondary);">v1.3.82</span> <span style="font-size:0.75rem; color:var(--text-secondary);">v1.3.83</span>
<button class="btn ghost" onclick="closeHelp()">Закрыть</button> <button class="btn ghost" onclick="closeHelp()">Закрыть</button>
</div> </div>
</div> </div>
+1 -1
View File
@@ -451,7 +451,7 @@ async function submitClone() {
// Успех — закрываем модалку, обновляем список // Успех — закрываем модалку, обновляем список
closeEdit(); closeEdit();
setStatus('Функция «' + newName + '» создана как копия «' + srcName + '»', false); setStatus('Функция «' + newName + '» создана как копия «' + srcName + '»', false);
await reloadAll(); setTimeout(function() { reloadAll(); }, 800);
} catch(e) { } catch(e) {
if (errEl) { errEl.textContent = e.message; errEl.style.display = 'block'; } if (errEl) { errEl.textContent = e.message; errEl.style.display = 'block'; }
} finally { } finally {