Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 45267ca3 authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #4239 from nextcloud/enh/noid/cleanup-avatar-random-id

Use randomId() everywhere
parents 8b320b4c af5c1c63
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ import { principalPropertySearchByDisplaynameOrEmail } from '../../../services/c
import HttpClient from '@nextcloud/axios'
import debounce from 'debounce'
import { linkTo } from '@nextcloud/router'
import { randomId } from '../../../utils/randomId'

export default {
	name: 'InviteesListSearch',
@@ -133,7 +134,7 @@ export default {

				// Generate a unique id for every result to make the avatar components reactive
				for (const match of matches) {
					match.uid = Math.random().toString(16).slice(2)
					match.uid = randomId()
				}

				this.isLoading = false