Mercurial > gemma
changeset 3508:081182dfcc35
import_overview: country for sys_admin = global
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 28 May 2019 15:51:33 +0200 |
parents | a606d003730c |
children | 0e91d40af23e |
files | client/src/store/usermanagement.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/store/usermanagement.js Tue May 28 14:52:57 2019 +0200 +++ b/client/src/store/usermanagement.js Tue May 28 15:51:33 2019 +0200 @@ -43,7 +43,7 @@ getters: { userCountries: state => { return state.users.reduce((o, n) => { - o[n.user] = n.country !== "--" ? n.country : "global"; + o[n.user] = n.role !== "sys_admin" ? n.country : "global"; return o; }, {}); },