Fix DELETE request body serialization for news deletion
This commit is contained in:
@@ -2378,7 +2378,7 @@ const _sfc_main$3 = {
|
||||
const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
|
||||
const isMemberMenuOpen = ref(false);
|
||||
const isLoggedIn = computed(() => authStore.isLoggedIn);
|
||||
const isAdmin = computed(() => authStore.isAdmin);
|
||||
computed(() => authStore.isAdmin);
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_NuxtLink = __nuxt_component_0$1;
|
||||
_push(`<footer${ssrRenderAttrs(mergeProps({ class: "fixed bottom-0 left-0 right-0 z-40 bg-gray-900 border-t border-gray-800 shadow-2xl" }, _attrs))}><div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3"><div class="flex flex-col sm:flex-row justify-between items-center space-y-2 sm:space-y-0"><p class="text-sm text-gray-400"> © ${ssrInterpolate(unref(currentYear))} Harheimer TC </p><div class="flex items-center space-x-6 text-sm relative">`);
|
||||
@@ -2427,97 +2427,54 @@ const _sfc_main$3 = {
|
||||
_push(`</button>`);
|
||||
if (isMemberMenuOpen.value) {
|
||||
_push(`<div class="absolute bottom-full right-0 mb-2 w-48 bg-gray-800 border border-gray-700 rounded-lg shadow-xl overflow-hidden">`);
|
||||
if (isLoggedIn.value) {
|
||||
_push(`<!--[-->`);
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/mitgliederbereich",
|
||||
onClick: ($event) => isMemberMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-300 hover:bg-primary-600 hover:text-white transition-colors"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(` Mitgliederbereich `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Mitgliederbereich ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
if (isAdmin.value) {
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/cms",
|
||||
onClick: ($event) => isMemberMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-300 hover:bg-primary-600 hover:text-white transition-colors"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(` CMS `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" CMS ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`<button class="w-full text-left px-4 py-2 text-sm text-gray-300 hover:bg-primary-600 hover:text-white transition-colors"> Abmelden </button><!--]-->`);
|
||||
} else {
|
||||
_push(`<!--[-->`);
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/login",
|
||||
onClick: ($event) => isMemberMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-300 hover:bg-primary-600 hover:text-white transition-colors"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(` Anmelden `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Anmelden ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/registrieren",
|
||||
onClick: ($event) => isMemberMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-300 hover:bg-primary-600 hover:text-white transition-colors"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(` Registrieren `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Registrieren ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/passwort-vergessen",
|
||||
onClick: ($event) => isMemberMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-300 hover:bg-primary-600 hover:text-white transition-colors"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(` Passwort vergessen `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Passwort vergessen ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(`<!--]-->`);
|
||||
}
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/login",
|
||||
onClick: ($event) => isMemberMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-300 hover:bg-primary-600 hover:text-white transition-colors"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(` Anmelden `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Anmelden ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/registrieren",
|
||||
onClick: ($event) => isMemberMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-300 hover:bg-primary-600 hover:text-white transition-colors"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(` Registrieren `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Registrieren ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/passwort-vergessen",
|
||||
onClick: ($event) => isMemberMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-300 hover:bg-primary-600 hover:text-white transition-colors"
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(` Passwort vergessen `);
|
||||
} else {
|
||||
return [
|
||||
createTextVNode(" Passwort vergessen ")
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(`</div>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
|
||||
Reference in New Issue
Block a user