diff --git a/front/js/entry/ContentEntry/ContentEntry.svelte b/front/js/entry/ContentEntry/ContentEntry.svelte index bfaf169..37f7c67 100644 --- a/front/js/entry/ContentEntry/ContentEntry.svelte +++ b/front/js/entry/ContentEntry/ContentEntry.svelte @@ -1,6 +1,8 @@ + + + + + + diff --git a/front/js/entry/RecordEditEntry/RecordEditEntry.svelte b/front/js/entry/RecordEditEntry/RecordEditEntry.svelte index 515e90b..af3b495 100644 --- a/front/js/entry/RecordEditEntry/RecordEditEntry.svelte +++ b/front/js/entry/RecordEditEntry/RecordEditEntry.svelte @@ -15,6 +15,12 @@ function handleLocaleChange() { selectedLocales = getSelectedLocales(); } + function toggleLiveData() { + if (!showPublished) { + // to avoid state sync + Turbo.visit(window.location.href); + } + } @@ -28,6 +34,7 @@