From 0d25abab798c005266a1c0b4eeba957d232d4328 Mon Sep 17 00:00:00 2001
From: vnugent <public@vaughnnugent.com>
Date: Sat, 16 Dec 2023 02:40:03 -0500
Subject: move blog admin state to pinia store plugin

---
 front-end/src/views/Blog/components/FeedFields.vue | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'front-end/src/views/Blog/components/FeedFields.vue')

diff --git a/front-end/src/views/Blog/components/FeedFields.vue b/front-end/src/views/Blog/components/FeedFields.vue
index 0397c48..918f449 100644
--- a/front-end/src/views/Blog/components/FeedFields.vue
+++ b/front-end/src/views/Blog/components/FeedFields.vue
@@ -24,7 +24,7 @@
 
         <div v-if="editMode" class="flex flex-col">
             <div v-if="$props.blog" class="mb-2">
-                <EpAdder :blog="$props.blog" @submit="onAddEnclosure" />
+                <EpAdder @submit="onAddEnclosure" />
             </div>
 
             <div class="">
@@ -38,13 +38,11 @@
 <script setup lang="ts">
 import { computed, defineAsyncComponent, ref } from 'vue';
 import { FeedProperty, UseXmlProperties } from '@vnuge/cmnext-admin';
-import { BlogState } from '../blog-api';
-import EpAdder from './podcast-helpers/EpisodeAdder.vue';
+const EpAdder = defineAsyncComponent(() => import('./podcast-helpers/EpisodeAdder.vue'));
 const JsonEditorVue = defineAsyncComponent(() => import('json-editor-vue'))
 
 const props = defineProps<{
     properties: UseXmlProperties,
-    blog?: BlogState
 }>()
 
 const { getXml, saveJson, getModel, addProperties } = props.properties
-- 
cgit 

