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
e2603461ab
commit
8f1d4a6506
@ -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