UX: Add class to assign topic list items (#649)

This commit is contained in:
Jordan Vidrine 2025-03-24 12:44:21 -05:00 committed by GitHub
parent a600428115
commit 70318da136
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;
}
);
});
},
};