Skip to content

Commit 2aaa63d

Browse files
authored
Merge pull request #27 from ziggrace/sean/snippet
added placeholders for vuex store
2 parents ff56f07 + af8602e commit 2aaa63d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/dashboard_items/DashboardVuexStore.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ Description:
2020
</q-tabs>
2121
<q-tab-panels v-model="tab" animated class="html-bg text-white">
2222
<q-tab-panel name="state">
23+
<p v-if='!this.stateOptions.length'>No state in store</p>
2324
<ul id="stateList">
2425
<li v-for="state in stateOptions" v-bind:key="state">
2526
{{ state }}
2627
</li>
2728
</ul>
2829
</q-tab-panel>
2930
<q-tab-panel name="actions">
31+
<p v-if='!this.actionOptions.length'>No actions in store</p>
3032
<ul id="actionList">
3133
<li v-for="action in actionOptions" :key="action">
3234
{{ action }}

0 commit comments

Comments
 (0)