Fix isPublic field not being saved when creating/editing news

This commit is contained in:
Torsten Schulz (local)
2025-10-21 15:53:56 +02:00
parent af6cc8c90a
commit 201de0a278
25 changed files with 156 additions and 155 deletions

View File

@@ -0,0 +1,8 @@
const Hero_vue_vue_type_style_index_0_scoped_779d39d7_lang = "@keyframes fadeIn-779d39d7{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in[data-v-779d39d7]{animation:fadeIn-779d39d7 .8s ease-out}.animate-fade-in-delay-1[data-v-779d39d7]{animation:fadeIn-779d39d7 .8s ease-out .2s both}.animate-fade-in-delay-2[data-v-779d39d7]{animation:fadeIn-779d39d7 .8s ease-out .4s both}";
const HeroStyles_03iOjY05 = [
Hero_vue_vue_type_style_index_0_scoped_779d39d7_lang
];
export { HeroStyles_03iOjY05 as default };
//# sourceMappingURL=Hero-styles.03iOjY05.mjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Hero-styles.03iOjY05.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/Hero-styles.03iOjY05.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"","x_google_ignoreList":[0]}

View File

@@ -1,8 +0,0 @@
const Hero_vue_vue_type_style_index_0_scoped_ff244c06_lang = "@keyframes fadeIn-ff244c06{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in[data-v-ff244c06]{animation:fadeIn-ff244c06 .8s ease-out}.animate-fade-in-delay-1[data-v-ff244c06]{animation:fadeIn-ff244c06 .8s ease-out .2s both}.animate-fade-in-delay-2[data-v-ff244c06]{animation:fadeIn-ff244c06 .8s ease-out .4s both}";
const HeroStyles_BpJ8SM3N = [
Hero_vue_vue_type_style_index_0_scoped_ff244c06_lang
];
export { HeroStyles_BpJ8SM3N as default };
//# sourceMappingURL=Hero-styles.BpJ8SM3N.mjs.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"Hero-styles.BpJ8SM3N.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/Hero-styles.BpJ8SM3N.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"","x_google_ignoreList":[0]}

View File

@@ -318,7 +318,7 @@ const client_manifest = {
"module": true,
"prefetch": true,
"preload": true,
"file": "CQbOfyWX.js",
"file": "D43Z0o-f.js",
"name": "entry",
"src": "node_modules/nuxt/dist/app/entry.js",
"isEntry": true,
@@ -328,14 +328,14 @@ const client_manifest = {
"node_modules/nuxt/dist/app/components/error-500.vue"
],
"css": [
"entry.DJ18GRwo.css"
"entry.BbGskshJ.css"
],
"assets": [
"Harheimer TC.CKfYAfp1.svg"
]
},
"entry.DJ18GRwo.css": {
"file": "entry.DJ18GRwo.css",
"entry.BbGskshJ.css": {
"file": "entry.BbGskshJ.css",
"resourceType": "style",
"prefetch": true,
"preload": true
@@ -443,7 +443,7 @@ const client_manifest = {
"module": true,
"prefetch": true,
"preload": true,
"file": "KD1G0xGW.js",
"file": "B94vUBDm.js",
"name": "index",
"src": "pages/index.vue",
"isDynamicEntry": true,
@@ -455,11 +455,11 @@ const client_manifest = {
"_BC4PNGtJ.js"
],
"css": [
"index.cxXLuf7u.css"
"index.ByttcLyP.css"
]
},
"index.cxXLuf7u.css": {
"file": "index.cxXLuf7u.css",
"index.ByttcLyP.css": {
"file": "index.ByttcLyP.css",
"resourceType": "style",
"prefetch": true,
"preload": true

View File

@@ -24,8 +24,8 @@ const _sfc_main$5 = {};
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
_push(`<section${ssrRenderAttrs(mergeProps({
id: "home",
class: "relative min-h-full flex items-center justify-center overflow-hidden py-20 bg-gradient-to-br from-gray-50 to-gray-100"
}, _attrs))} data-v-ff244c06><div class="absolute inset-0 z-0" data-v-ff244c06><div class="absolute top-0 right-0 w-96 h-96 bg-primary-200/30 rounded-full blur-3xl" data-v-ff244c06></div><div class="absolute bottom-0 left-0 w-96 h-96 bg-gray-300/30 rounded-full blur-3xl" data-v-ff244c06></div><div class="absolute inset-0 opacity-10" style="${ssrRenderStyle({ "background-image": "url('/images/club_about_us.png')", "background-size": "cover", "background-position": "center" })}" data-v-ff244c06></div></div><div class="relative z-20 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 sm:py-32" data-v-ff244c06><div class="text-center" data-v-ff244c06><h1 class="text-5xl sm:text-6xl lg:text-7xl font-display font-bold text-gray-900 mb-6 leading-tight animate-fade-in" data-v-ff244c06> Willkommen beim<br data-v-ff244c06><span class="text-primary-600" data-v-ff244c06>Harheimer TC</span></h1><p class="text-xl sm:text-2xl text-gray-700 mb-8 max-w-3xl mx-auto animate-fade-in-delay-1" data-v-ff244c06> Tradition trifft Moderne - Ihr Tischtennisverein in Frankfurt-Harheim seit über 45 Jahren </p></div></div><div class="absolute bottom-8 left-1/2 transform -translate-x-1/2 z-20 animate-bounce" data-v-ff244c06><div class="w-6 h-10 border-2 border-gray-400 rounded-full flex justify-center pt-2" data-v-ff244c06><div class="w-1.5 h-3 bg-primary-600 rounded-full" data-v-ff244c06></div></div></div></section>`);
class: "relative min-h-full flex items-center justify-center overflow-hidden bg-gradient-to-br from-gray-50 to-gray-100"
}, _attrs))} data-v-779d39d7><div class="absolute inset-0 z-0" data-v-779d39d7><div class="absolute top-0 right-0 w-96 h-96 bg-primary-200/30 rounded-full blur-3xl" data-v-779d39d7></div><div class="absolute bottom-0 left-0 w-96 h-96 bg-gray-300/30 rounded-full blur-3xl" data-v-779d39d7></div><div class="absolute inset-0 opacity-10" style="${ssrRenderStyle({ "background-image": "url('/images/club_about_us.png')", "background-size": "cover", "background-position": "center" })}" data-v-779d39d7></div></div><div class="relative z-20 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 sm:py-8" data-v-779d39d7><div class="text-center" data-v-779d39d7><h1 class="text-5xl sm:text-6xl lg:text-7xl font-display font-bold text-gray-900 mb-6 leading-tight animate-fade-in" data-v-779d39d7> Willkommen beim<br data-v-779d39d7><span class="text-primary-600" data-v-779d39d7>Harheimer TC</span></h1><p class="text-xl sm:text-2xl text-gray-700 mb-8 max-w-3xl mx-auto animate-fade-in-delay-1" data-v-779d39d7> Tradition trifft Moderne - Ihr Tischtennisverein in Frankfurt-Harheim seit über 45 Jahren </p></div></div></section>`);
}
const _sfc_setup$5 = _sfc_main$5.setup;
_sfc_main$5.setup = (props, ctx) => {
@@ -33,7 +33,7 @@ _sfc_main$5.setup = (props, ctx) => {
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/Hero.vue");
return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
};
const Hero = /* @__PURE__ */ Object.assign(_export_sfc(_sfc_main$5, [["ssrRender", _sfc_ssrRender], ["__scopeId", "data-v-ff244c06"]]), { __name: "Hero" });
const Hero = /* @__PURE__ */ Object.assign(_export_sfc(_sfc_main$5, [["ssrRender", _sfc_ssrRender], ["__scopeId", "data-v-779d39d7"]]), { __name: "Hero" });
const _sfc_main$4 = {
__name: "TermineVorschau",
__ssrInlineRender: true,
@@ -321,4 +321,4 @@ _sfc_main.setup = (props, ctx) => {
};
export { _sfc_main as default };
//# sourceMappingURL=index-CGHXrhNd.mjs.map
//# sourceMappingURL=index-DkhqlVRY.mjs.map

View File

@@ -416,7 +416,7 @@ const _routes = [
{
name: "index",
path: "/",
component: () => import('./index-CGHXrhNd.mjs')
component: () => import('./index-DkhqlVRY.mjs')
},
{
name: "login",

View File

@@ -1,13 +1,13 @@
const interopDefault = r => r.default || r || [];
const styles = {
"components/Hero.vue": () => import('./Hero-styles.03iOjY05.mjs').then(interopDefault),
"components/PublicNews.vue": () => import('./PublicNews-styles.nhqk16g5.mjs').then(interopDefault),
"node_modules/nuxt/dist/app/components/error-404.vue": () => import('./error-404-styles.BsF5Lbhq.mjs').then(interopDefault),
"node_modules/nuxt/dist/app/components/error-500.vue": () => import('./error-500-styles.Dccc6iq5.mjs').then(interopDefault),
"components/Hero.vue": () => import('./Hero-styles.BpJ8SM3N.mjs').then(interopDefault),
"components/PublicNews.vue": () => import('./PublicNews-styles.nhqk16g5.mjs').then(interopDefault),
"components/Hero.vue?vue&type=style&index=0&scoped=779d39d7&lang.css": () => import('./Hero-styles.03iOjY05.mjs').then(interopDefault),
"components/PublicNews.vue?vue&type=style&index=0&scoped=f894f108&lang.css": () => import('./PublicNews-styles.nhqk16g5.mjs').then(interopDefault),
"node_modules/nuxt/dist/app/components/error-404.vue?vue&type=style&index=0&scoped=b728498f&lang.css": () => import('./error-404-styles.BsF5Lbhq.mjs').then(interopDefault),
"node_modules/nuxt/dist/app/components/error-500.vue?vue&type=style&index=0&scoped=70d84538&lang.css": () => import('./error-500-styles.Dccc6iq5.mjs').then(interopDefault),
"components/Hero.vue?vue&type=style&index=0&scoped=ff244c06&lang.css": () => import('./Hero-styles.BpJ8SM3N.mjs').then(interopDefault),
"components/PublicNews.vue?vue&type=style&index=0&scoped=f894f108&lang.css": () => import('./PublicNews-styles.nhqk16g5.mjs').then(interopDefault)
"node_modules/nuxt/dist/app/components/error-500.vue?vue&type=style&index=0&scoped=70d84538&lang.css": () => import('./error-500-styles.Dccc6iq5.mjs').then(interopDefault)
};
export { styles as default };