Closed RastislavHudak closed 2 years ago
Sort roles alphabetically, but keep the role 'other' first:
https://github.com/phaidra/phaidra-vue-components/blob/6ba6aac2264c9f09db60b6320d166623b533eb71/src/store/modules/vocabulary.js#L1216
Also when locale is changed, re-sort roles and orgunits via dispatched store action
https://github.com/phaidra/phaidra-ui/blob/38d7a1d3dd8233a9f861a1e510b8c46f78b5efa2/layouts/default.vue#L367
Done #47
Sort roles alphabetically, but keep the role 'other' first:
https://github.com/phaidra/phaidra-vue-components/blob/6ba6aac2264c9f09db60b6320d166623b533eb71/src/store/modules/vocabulary.js#L1216
Also when locale is changed, re-sort roles and orgunits via dispatched store action
https://github.com/phaidra/phaidra-ui/blob/38d7a1d3dd8233a9f861a1e510b8c46f78b5efa2/layouts/default.vue#L367