Fix primary key usage with different types
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -34,15 +34,15 @@
|
||||
:size="32" />
|
||||
<Avatar v-if="user.type === 1"
|
||||
:user="user.participant.primaryKey"
|
||||
:display-name="user.participant.primaryKey"
|
||||
:tooltip-message="user.participant.primaryKey + ' ' + t('deck', '(group)')"
|
||||
:display-name="user.participant.displayname"
|
||||
:tooltip-message="user.participant.displayname + ' ' + t('deck', '(group)')"
|
||||
:is-no-user="true"
|
||||
:disable-="true"
|
||||
:size="32" />
|
||||
<Avatar v-if="user.type === 7"
|
||||
:user="user.participant.primaryKey"
|
||||
:display-name="user.participant.primaryKey"
|
||||
:tooltip-message="user.participant.primaryKey + ' ' + t('deck', '(circle)')"
|
||||
:display-name="user.participant.displayname"
|
||||
:tooltip-message="user.participant.displayname + ' ' + t('deck', '(circle)')"
|
||||
:is-no-user="true"
|
||||
:disable-="true"
|
||||
:size="32" />
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
if (assignable.type === 1) {
|
||||
return 'icon-group'
|
||||
}
|
||||
const user = assignable.participant.primaryKey
|
||||
const user = assignable.participant.uid
|
||||
const size = 32
|
||||
const avatarUrl = OC.generateUrl('/avatar/{user}/{size}',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user