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) }) } }