catalog-react: add clarifying comment to EntityUserListFilter
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
@@ -237,6 +237,10 @@ export class EntityUserListFilter implements EntityFilter {
|
||||
if (this.value === 'starred') {
|
||||
return this.refs?.includes(stringifyEntityRef(entity)) ?? true;
|
||||
}
|
||||
// used only for retro-compatibility with the old
|
||||
// non paginated table. This is supposed to return always true
|
||||
// for paginated owned entities, since the filters are applied
|
||||
// server side.
|
||||
if (this.value === 'owned') {
|
||||
return (
|
||||
this.refs?.some(v =>
|
||||
|
||||
Reference in New Issue
Block a user