-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
@@ -80,6 +83,7 @@ export default {
ContactGroupIcon: () => import('vue-material-design-icons/AccountGroupOutline.vue'),
GroupIcon: () => import('vue-material-design-icons/AccountMultiple.vue'),
CircleIcon: () => import('vue-material-design-icons/GoogleCirclesExtended.vue'),
+ DeletedUserIcon: () => import('vue-material-design-icons/AccountOff.vue'),
},
inheritAttrs: false,
@@ -144,6 +148,7 @@ export default {
'circle',
'external',
'email',
+ 'deleted',
].includes(value)
},
@@ -152,11 +157,11 @@ export default {
type: Boolean,
default: false,
},
- isGuest: {
+ showTypeIcon: {
type: Boolean,
default: false,
},
- icon: {
+ isGuest: {
type: Boolean,
default: false,
},
@@ -180,16 +185,19 @@ export default {
},
useIconSlot() {
- return !['user', 'admin'].includes(this.type)
+ return ['internalAccess', 'public', 'contactGroup', 'group', 'circle', 'deleted'].includes(this.type)
},
description() {
+ if (this.condensed) return ''
if (this.forcedDescription) return this.forcedDescription
+ if (this.type === 'deleted') return t('polls', 'The participant got removed from this poll')
if (this.type === 'admin') return t('polls', 'Is granted admin rights for this poll')
if (this.displayEmailAddress) return this.displayEmailAddress
return ''
},
name() {
+ if (this.type === 'deleted') return t('polls', 'Deleted User')
if (this.type === 'internalAccess') return t('polls', 'Internal access')
if (this.displayName) return this.displayName
if (this.type === 'public' && this.userId !== 'addPublic') return t('polls', 'Public link')
@@ -236,11 +244,14 @@ export default {