@@ -6,14 +6,14 @@ Description:
66
77<template >
88 <section class =" html-queue" @dragover =" dragOver($event), false" >
9- <span class =" list-title" v-if =" this. activeLayer.id !== ''" >
9+ <span class =" list-title" v-if =" activeLayer.id !== ''" >
1010 <i class =" fas fa fa-chevron-up fa-md" @click =" setParentLayer" ></i >
11-   ;   ; Viewing Elements in {{ this. activeComponent }} '{{ depth }}'
11+   ;   ; Viewing Elements in {{ activeComponent }} '{{ depth }}'
1212 <hr />
1313 </span >
14- <span class =" list-title" v-else-if =" !this. activeComponent" ></span >
14+ <span class =" list-title" v-else-if =" !activeComponent" ></span >
1515 <div group =" people" class =" list-group" >
16- <p v-if =" !this. componentMap[this. activeComponent]?.htmlList.length" >
16+ <p v-if =" !componentMap[activeComponent]?.htmlList.length" >
1717 No HTML elements in component
1818 </p >
1919 <div
@@ -254,16 +254,13 @@ watch(attributeModalOpen, () => {
254254 attributeModal .value = attributeModalOpen .value ;
255255});
256256
257- watch (
258- () => activeComponent .value ,
259- () => {
260- if (activeComponent .value !== " " ) {
261- activeComponent .component = true ;
262- } else {
263- activeComponent .component = false ;
264- }
257+ watch (activeComponent, () => {
258+ if (activeComponent .value !== " " ) {
259+ activeComponent .component = true ;
260+ } else {
261+ activeComponent .component = false ;
265262 }
266- );
263+ } );
267264 </script >
268265
269266<!-- <script>
0 commit comments