summaryrefslogtreecommitdiffstats
path: root/src/components/popoverMenu/popoverItem.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/popoverMenu/popoverItem.vue')
-rw-r--r--src/components/popoverMenu/popoverItem.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/popoverMenu/popoverItem.vue b/src/components/popoverMenu/popoverItem.vue
index 1b6382ce..f227691e 100644
--- a/src/components/popoverMenu/popoverItem.vue
+++ b/src/components/popoverMenu/popoverItem.vue
@@ -25,19 +25,19 @@
<!-- If item.href is set, a link will be directly used -->
<a v-if="item.href" :href="(item.href) ? item.href : '#' " :target="(item.target) ? item.target : '' "
rel="noreferrer noopener" @click="item.action">
- <span :class="item.icon"/>
+ <span :class="item.icon" />
<span v-if="item.text">{{ item.text }}</span>
<p v-else-if="item.longtext">{{ item.longtext }}</p>
</a>
<!-- If item.action is set instead, a button will be used -->
<button v-else-if="item.action" @click="item.action">
- <span :class="item.icon"/>
+ <span :class="item.icon" />
<span v-if="item.text">{{ item.text }}</span>
<p v-else-if="item.longtext">{{ item.longtext }}</p>
</button>
<!-- If item.longtext is set AND the item does not have an action -->
<span v-else class="menuitem">
- <span :class="item.icon"/>
+ <span :class="item.icon" />
<span v-if="item.text">{{ item.text }}</span>
<p v-else-if="item.longtext">{{ item.longtext }}</p>
</span>