From 0f64397e792cc8f76e961797cafc21648d243c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 9 Jul 2020 15:54:54 +0200 Subject: [PATCH] update ui MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- ui/components/accounts/AccountsList.vue | 4 ++-- ui/store/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/components/accounts/AccountsList.vue b/ui/components/accounts/AccountsList.vue index 7d15d42376..ba0054dc22 100644 --- a/ui/components/accounts/AccountsList.vue +++ b/ui/components/accounts/AccountsList.vue @@ -15,9 +15,9 @@ - + - + diff --git a/ui/store/index.js b/ui/store/index.js index 86917928b4..db81d2d40f 100644 --- a/ui/store/index.js +++ b/ui/store/index.js @@ -15,10 +15,10 @@ const getters = { isInitialized: state => state.initialized, getAccountsSorted: state => { return Object.values(state.accounts).sort((a1, a2) => { - if (a1.preferredName === a2.preferredName) { + if (a1.onPremisesSamAccountName === a2.onPremisesSamAccountName) { return a1.id.localeCompare(a2.id) } - return a1.preferredName.localeCompare(a2.preferredName) + return a1.onPremisesSamAccountName.localeCompare(a2.onPremisesSamAccountName) }) } }