UX: Add class to assign topic list items

This commit is contained in:
Jordan Vidrine 2025-03-24 11:52:41 -05:00
parent a600428115
commit c7845bad0c
1 changed files with 9 additions and 0 deletions

View File

@ -29,6 +29,15 @@ export default {
return columns;
}
);
api.registerValueTransformer(
"topic-list-item-class",
({ value: classes }) => {
if (ASSIGN_LIST_ROUTES.includes(router.currentRouteName)) {
classes.push("assigned-list-item");
}
return classes;
}
);
});
},
};