Skip to content

Commit f16d91f

Browse files
author
Jeffrey Sul
committed
added uploadimage
1 parent d843b40 commit f16d91f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/components/dashboard_items/Dashboard.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Description:
2020
>
2121
<q-tab name="detail" id="label-text"><i class="fas fa-code"></i></q-tab>
2222
<q-tab name="tree" id="label-text"><i class="fas fa-code-branch fa-flip-vertical" /></q-tab>
23-
<q-tab name="store" id="label-text" ><i class="fas fa-store-alt"></i></q-tab>
23+
<!-- <q-tab name="store" id="label-text" ><i class="fas fa-store-alt"></i></q-tab> -->
2424
</q-tabs>
2525
<q-tab-panels v-model="tab" animated class="html-bg text-white ">
2626
<q-tab-panel name="detail">
@@ -29,9 +29,9 @@ Description:
2929
<q-tab-panel name="tree" >
3030
<Tree />
3131
</q-tab-panel>
32-
<q-tab-panel name="store">
32+
<!-- <q-tab-panel name="store">
3333
<VuexStore />
34-
</q-tab-panel>
34+
</q-tab-panel> -->
3535
</q-tab-panels>
3636
</q-card>
3737
</div>

src/components/home_sidebar_items/ComponentTab/ComponentTab.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Functionality includes: if active component is selected, will switch view to editing mode. If not, it will be in create mode -->
33
<template>
44
<q-card id="store-cards">
5+
<UploadImage v-if="activeComponent === ''" />
56
<CreateComponent v-if="activeComponent === ''"/>
67
<EditDeleteComponents v-if="activeComponent !== ''"/>
78
</q-card>
@@ -11,6 +12,7 @@ Functionality includes: if active component is selected, will switch view to edi
1112
import CreateComponent from './CreateComponent.vue'
1213
import EditDeleteComponents from './EditDeleteComponents.vue'
1314
import { mapState } from 'vuex'
15+
import UploadImage from '../UploadImage.vue'
1416
1517
export default {
1618
data () {
@@ -27,6 +29,7 @@ export default {
2729
components: {
2830
CreateComponent,
2931
EditDeleteComponents,
32+
UploadImage,
3033
}
3134
}
3235
</script>

0 commit comments

Comments
 (0)