web/satellite: use correct color for projects table icons
This change uses the correct color corresponding to the role of a user on a project. Change-Id: Ibd8f9ccae4486a8039f77bae5c2533b060e73be9
This commit is contained in:
parent
265ac599c7
commit
9d4787f5e7
@ -83,9 +83,9 @@ const icon = computed((): string => ObjectType.findIcon(props.itemType));
|
||||
const customIconClasses = computed(() => {
|
||||
const classes = {};
|
||||
if (props.itemType === 'project') {
|
||||
if (props.item['owner']) {
|
||||
if (props.item['role'] === ProjectRole.Owner) {
|
||||
classes['project-owner'] = true;
|
||||
} else {
|
||||
} else if (props.item['role'] === ProjectRole.Member) {
|
||||
classes['project-member'] = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user