mirror of
https://github.com/nextcloud/server.git
synced 2026-04-25 16:19:06 -04:00
Avoid using lists if there are none on the dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
ce9c0b5e30
commit
4beae14fee
1 changed files with 5 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
-->
|
||||
|
||||
<template>
|
||||
<li>
|
||||
<component :is="elementTag">
|
||||
<div class="user-status-menu-item">
|
||||
<!-- Username display -->
|
||||
<a v-if="!inline"
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
<!-- Status management modal -->
|
||||
<SetStatusModal v-if="isModalOpen"
|
||||
@close="closeModal" />
|
||||
</li>
|
||||
</component>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -94,6 +94,9 @@ export default {
|
|||
}
|
||||
},
|
||||
computed: {
|
||||
elementTag() {
|
||||
return this.inline ? 'div' : 'li'
|
||||
},
|
||||
/**
|
||||
* The profile page link
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue