Skip to content

Commit 1b45b18

Browse files
author
Jaime de Venecia
committed
Rename HTML elements component, make minor code cleanup edits.
Co-authored by: Janica Abagat [email protected] Trisha Duong [email protected] David Lee [email protected]
1 parent b3ca4f0 commit 1b45b18

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

src/components/right-sidebar/ComponentDetails.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<q-tab-panels v-model="tab" animated class="html-bg text-white">
2727
<!-- HTML Elements -->
2828
<q-tab-panel name="newhtml">
29-
<V10HTMLQueue />
29+
<HTMLElementsList />
3030
</q-tab-panel>
3131

3232
<!-- Code Preview -->
@@ -119,7 +119,7 @@
119119
import { computed } from "vue";
120120
import { useStore } from "../../store/main.js";
121121
import { Component } from "../../../types";
122-
import V10HTMLQueue from "./V10HTMLQueue.vue";
122+
import HTMLElementsList from "./HTMLElementsList.vue";
123123
import CodeSnippet from "./CodeSnippet.vue";
124124

125125
/* COMPUTED VALUES */

src/components/right-sidebar/Tree.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { useStore } from "../../store/main.js";
1818
import VueTree from "@overvue/vue3-tree-chart";
1919
import "@overvue/vue3-tree-chart/dist/vue3-tree-chart.css";
2020

21-
import V10HTMLQueue from "./V10HTMLQueue.vue";
21+
import HTMLElementsList from "./HTMLElementsList.vue";
2222

2323
/* LIFECYCLE HOOKS */
2424
onMounted(() => {
@@ -259,8 +259,7 @@ watch(componentMap, () => (treeData.value = buildTree(componentMap.value)), {
259259
{{ activeComponent }}
260260
</div>
261261
<div class="modal-box">
262-
<!-- <HTMLQueue /> -->
263-
<V10HTMLQueue />
262+
<HTMLElementsList />
264263
</div>
265264
</div>
266265
</q-dialog>

src/store/actions.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@ import {
33
breadthFirstSearchParent,
44
} from "src/utils/search.util";
55

6-
import { isProxy, toRaw } from "vue";
7-
import {
8-
State,
9-
Actions,
10-
Component,
11-
RouteComponentMap,
12-
HtmlElement,
13-
} from "../../types";
6+
import { toRaw } from "vue";
7+
import { State, Actions, Component, HtmlElement } from "../../types";
148
import { Store } from "pinia";
159
import localforage from "localforage";
1610
// *** GLOBAL *** //////////////////////////////////////////////

0 commit comments

Comments
 (0)