From 167d08dca03e6387b8585bae8682a910f167540f Mon Sep 17 00:00:00 2001 From: Vincenzo Scamporlino Date: Fri, 26 May 2023 23:41:36 +0200 Subject: [PATCH] catalog-react: clarify comment Signed-off-by: Vincenzo Scamporlino --- plugins/catalog-react/src/filters.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/catalog-react/src/filters.ts b/plugins/catalog-react/src/filters.ts index 5879d91591..d6bd8eee3f 100644 --- a/plugins/catalog-react/src/filters.ts +++ b/plugins/catalog-react/src/filters.ts @@ -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 =>