Mercurial > gemma
diff client/src/store/usermanagement.js @ 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 | e2ed741545e1 |
children | 2c0170be6cf0 |
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; }, {}); },