From 921ee80c14b0839162b10e00d90facebf9b91673 Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Tue, 1 Sep 2020 20:56:08 +0200
Subject: Don't keep menu open for next user after deleting one

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 apps/settings/src/components/UserList.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'apps/settings/src/components/UserList.vue')

diff --git a/apps/settings/src/components/UserList.vue b/apps/settings/src/components/UserList.vue
index 0ef60ed70be..344b6eeec93 100644
--- a/apps/settings/src/components/UserList.vue
+++ b/apps/settings/src/components/UserList.vue
@@ -213,8 +213,8 @@
 			<div class="userActions" />
 		</div>
 
-		<user-row v-for="(user, key) in filteredUsers"
-			:key="key"
+		<user-row v-for="user in filteredUsers"
+			:key="user.id"
 			:external-actions="externalActions"
 			:groups="groups"
 			:languages="languages"
-- 
cgit v1.2.3

