catalog-react: clarify comment

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2023-05-26 23:41:36 +02:00
parent d46acd6948
commit 167d08dca0
+3 -4
View File
@@ -237,10 +237,9 @@ 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.
// used only for retro-compatibility with non paginated data.
// 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 =>