content tables

This commit is contained in:
2026-01-12 19:25:40 +02:00
parent b0485e77fc
commit 178b9309ec
16 changed files with 483 additions and 23 deletions
@@ -15,6 +15,12 @@
function handleLocaleChange() {
selectedLocales = getSelectedLocales();
}
function toggleLiveData() {
if (!showPublished) {
// to avoid state sync
Turbo.visit(window.location.href);
}
}
</script>
<!-- <svelte:window on:beforeunload={beforeUnload} /> -->
@@ -28,6 +34,7 @@
<label>
<input
bind:checked={showPublished}
onchange={toggleLiveData}
type="checkbox"
role="switch"
/>