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

Unverified Commit af5c1c63 authored by Richard Steinmetz's avatar Richard Steinmetz
Browse files

Use randomId() everywhere

parent 13eb9df0
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