Skip to content

Commit

Permalink
cross not enabled users
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Nov 17, 2023
1 parent d07e66f commit 6e68fad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion frontend/src/UserList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<template v-slot:default>
<v-list-item-title>
<span class="user-name" v-html="getUserName(item)"></span>
<span class="user-name" v-html="getUserNameOverride(item)"></span>
</v-list-item-title>
<v-list-item-subtitle>
<v-chip
Expand Down Expand Up @@ -176,6 +176,13 @@ export default {
},
methods: {
getUserNameOverride(item) {
if (item.additionalData && !item.additionalData.enabled) {
return "<s>" + this.getUserName(item) + "</s>"
} else {
return this.getUserName(item)
}
},
hasLength,
getMaxItemsLength() {
return 240
Expand Down

0 comments on commit 6e68fad

Please sign in to comment.