Skip to content

Commit

Permalink
fixup! Fix empty content for mail
Browse files Browse the repository at this point in the history
Signed-off-by: GretaD <gretadoci@gmail.com>
  • Loading branch information
GretaD committed Aug 25, 2020
1 parent 38dac25 commit ee4d635
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
<EmptyContent id="mail--empty-content" icon="icon-checkmark">
<template #desc>
{{ t('mail', 'No message found yet') }}
<div class="no-account">
<a v-if="accounts.length === 0" :href="accountSetupUrl" class="button">{{ t('mail', 'Set up an account') }}</a>
</div>
</template>
</EmptyContent>
<div class="no-account icon-archive">
<a v-if="accounts.length === 0" :href="accountSetupUrl" class="button">{{ t('mail', 'Set up an account') }}</a>
</div>
</EmptyContent>
</template>
</DashboardWidget>
</template>
Expand All @@ -56,7 +56,7 @@ import { generateUrl, imagePath } from '@nextcloud/router'
import { DashboardWidget, DashboardWidgetItem } from '@nextcloud/vue-dashboard'
import orderBy from 'lodash/fp/orderBy'
import prop from 'lodash/fp/prop'
import EmptyContent from '@nextcloud/vue/dist/Components/EmptyContent'
import EmptyContent from '@nextcloud/vue/dist/components/EmptyContent'
import Avatar from '../components/Avatar'
import { fetchEnvelopes } from '../service/MessageService'
Expand Down Expand Up @@ -140,6 +140,6 @@ export default {
}
.no-account {
margin-top: 5vh;
margin-left: 75px;
margin-right: 5px;
}
</style>

0 comments on commit ee4d635

Please sign in to comment.