From cce132d771bd4cdc6e7c041fd5681926217fdeba Mon Sep 17 00:00:00 2001 From: bruno Date: Sun, 12 Jul 2026 19:55:30 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20Alpine.data()=20avec=20x-data=3D"wsInit"?= =?UTF-8?q?=20(sans=20parenth=C3=A8ses)=20+=20cache=20busting=20v2.4.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changé function wsInit() → Alpine.data('wsInit', ...) avec addEventListener('alpine:init') - x-data="wsInit()" → x-data="wsInit" (syntaxe correcte pour Alpine.data) - Ajouté ?v=2.4.6 sur CSS et JS pour bust le cache navigateur - Version bumpée à 2.4.6 --- app/main.py | 2 +- app/templates/base.html | 4 ++-- app/templates/local_workspace.html | 11 +++++------ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app/main.py b/app/main.py index 60c73fd..0707e3e 100644 --- a/app/main.py +++ b/app/main.py @@ -39,7 +39,7 @@ async def lifespan(_app: FastAPI): app = FastAPI( title="FlowDeck", - version="2.4.5", + version="2.4.6", docs_url="/docs" if settings.log_level == "DEBUG" else None, redoc_url=None, lifespan=lifespan, diff --git a/app/templates/base.html b/app/templates/base.html index 47d8fa8..19bb093 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -5,7 +5,7 @@ FlowDeck - + @@ -976,7 +976,7 @@ }, 300); }); - + {% block scripts %}{% endblock %} diff --git a/app/templates/local_workspace.html b/app/templates/local_workspace.html index 6cd00c3..e448c88 100644 --- a/app/templates/local_workspace.html +++ b/app/templates/local_workspace.html @@ -336,7 +336,7 @@ .preview-leave-end{transform:translateX(100%);opacity:0;} -
{% endblock %}