From afdeeb686f3aa022bec19084a337e233c622b4e3 Mon Sep 17 00:00:00 2001
From: vnugent <public@vaughnnugent.com>
Date: Sun, 27 Aug 2023 22:28:34 -0400
Subject: pre backend update client performance bufs and fixes

---
 front-end/src/views/Blog/index.vue | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

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

diff --git a/front-end/src/views/Blog/index.vue b/front-end/src/views/Blog/index.vue
index b5fa0d4..5d2d8cc 100644
--- a/front-end/src/views/Blog/index.vue
+++ b/front-end/src/views/Blog/index.vue
@@ -125,10 +125,12 @@ import Content from './components/Content.vue';
 usePageGuard();
 useTitle('CMNext Admin')
 
-//Load scripts
-const ckEditorTag = useScriptTag("https://cdn.ckeditor.com/ckeditor5/35.4.0/super-build/ckeditor.js")
-//Store the wait result on the window for the editor script to wait
-window.editorLoadResult = ckEditorTag.load(true);
+if(!window.CKEDITOR){
+    //Load scripts
+    const ckEditorTag = useScriptTag("https://cdn.ckeditor.com/ckeditor5/35.4.0/super-build/ckeditor.js")
+    //Store the wait result on the window for the editor script to wait
+    window.editorLoadResult = ckEditorTag.load(true);
+}
 
 const { userName, getProfile } = useUser()
 
@@ -241,7 +243,7 @@ const onTabChange = (id:number) => tabIdQ.value = id.toString(10)
                     }
                     
                     &:disabled{
-                        @apply text-rose-400 border-transparent;
+                        @apply text-rose-400;
                     }
                 }
 
@@ -258,6 +260,10 @@ const onTabChange = (id:number) => tabIdQ.value = id.toString(10)
             .dynamic-form.input-label{
                 @apply col-span-2 text-right m-auto mr-2;
             }
+
+            .dynamic-form.dynamic-input.input:disabled + .dynamic-form.field-description {
+                @apply hidden;
+            }
         }
     }
 
-- 
cgit 

