diff --git a/app/templates/local_workspace.html b/app/templates/local_workspace.html index 8f1db8a..7515896 100644 --- a/app/templates/local_workspace.html +++ b/app/templates/local_workspace.html @@ -1224,6 +1224,8 @@ window._wsInitData = (function() { self.undoVisible = false; self.undoItemId = null; }, 5000); + // Notify sidebar to refresh its tree + document.dispatchEvent(new CustomEvent('flowdeck:sidebar-refresh')); }, undoDelete() { if (this.undoTimeout) clearTimeout(this.undoTimeout);