File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div :class =" { disabled: disableLink, 'is-owner': isOwner, mask: maskUser }"
3
- class =" media hc__author"
4
- @click =" showProfile" >
5
- <div class =" media-left" v-if =" showAvatar" >
3
+ class =" media hc__author" >
4
+ <div class =" media-left" v-if =" showAvatar" @click =" showProfile" >
6
5
<hc-avatar
7
6
:user =" getUser"
8
7
:showOnlineStatus =" true"
9
8
:imageKey =" imageKey" />
10
9
</div >
11
- <div class =" media-content" v-if =" showText" >
10
+ <div class =" media-content" @click = " showProfile " v-if =" showText" >
12
11
<p class =" title" v-if =" !user" >
13
12
{{ $t('component.contribution.creatorUnknown') }}
14
13
</p >
20
19
<hc-relative-date-time :dateTime =" createdAt" ></hc-relative-date-time >
21
20
</p >
22
21
</div >
22
+ <slot >
23
+ </slot >
23
24
</div >
24
25
</template >
25
26
Original file line number Diff line number Diff line change 6
6
<p class =" subtitle is-6" >{{ $t('auth.settings.blacklistSubtitle') }}</p >
7
7
<hc-box :isLoading =" isLoading" >
8
8
<author
9
- v-for =" (user, index) in blacklistedUsers"
10
- :key =" user._id"
11
- :user =" user"
12
- />
13
- </hc-box >
9
+ v-for =" (user, index) in blacklistedUsers"
10
+ :key =" user._id"
11
+ :user =" user" >
12
+ <div class =" media-right" >
13
+ <hc-block-button :foreignEntity =" user" :isFollowing =" false" />
14
+ </div >
15
+ </author >
16
+ </hc-box >
14
17
</div >
15
18
</template >
16
19
17
20
<script >
18
21
import Author from ' ~/components/Author/Author.vue'
19
22
import Box from ' ~/components/Global/Layout/Box/Box.vue'
23
+ import BlockButton from ' ~/components/Global/Elements/BlockButton/BlockButton'
20
24
import { mapGetters } from ' vuex'
21
25
22
26
export default {
23
27
components: {
28
+ ' hc-block-button' : BlockButton,
24
29
' author' : Author,
25
30
' hc-box' : Box
26
31
},
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ let servicePlugin = (feathersClient) => {
16
16
} ,
17
17
isPending : ( state ) => {
18
18
return (
19
- state . current ||
20
19
state . isFindPending ||
21
20
state . isGetPending ||
22
21
state . isCreatePending ||
You can’t perform that action at this time.
0 commit comments