Skip to content

Commit

Permalink
Merge pull request #10476 from nextcloud/techdebt/noid/refactor-parti…
Browse files Browse the repository at this point in the history
…cipant-tab

techdebt(ParticipantsTab) - refactor participants list
  • Loading branch information
Antreesy authored Sep 12, 2023
2 parents 946a1f1 + 54e65df commit db3f4ab
Show file tree
Hide file tree
Showing 7 changed files with 286 additions and 318 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ import ParticipantPermissionsEditor from './ParticipantPermissionsEditor/Partici
import { useIsInCall } from '../../../../../composables/useIsInCall.js'
import { CONVERSATION, PARTICIPANT, ATTENDEE } from '../../../../../constants.js'
import readableNumber from '../../../../../mixins/readableNumber.js'
import UserStatus from '../../../../../mixins/userStatus.js'
import { formattedTime } from '../../../../../utils/formattedTime.js'
import { getStatusMessage } from '../../../../../utils/userStatus.js'

export default {
name: 'Participant',
Expand Down Expand Up @@ -271,7 +271,6 @@ export default {
},

mixins: [
UserStatus,
readableNumber,
],

Expand Down Expand Up @@ -360,7 +359,7 @@ export default {
? '💬 ' + t('spreed', '{time} talking …', { time: formattedTime(this.timeSpeaking, true) })
: '💬 ' + t('spreed', '{time} talking time', { time: formattedTime(this.timeSpeaking, true) })
} else {
return this.getStatusMessage(this.participant)
return getStatusMessage(this.participant)
}
},

Expand Down
Loading

0 comments on commit db3f4ab

Please sign in to comment.