1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 21:29:42 +02:00

Provide better user list paging UX

This commit is contained in:
Harvey Kandola 2018-12-16 12:56:50 +00:00
parent 8a654fcf3d
commit d1bc4a5b4c
9 changed files with 84 additions and 44 deletions

View file

@ -22,11 +22,14 @@ export default Component.extend({
color: '',
label: '',
tooltip: '',
selected: false,
calcClass: computed(function() {
calcClass: computed('selected', function() {
let c = '';
if (this.color !== '') c += this.color + ' ';
if (this.selected === true) c += 'label-selected';
return c.trim();
}),