Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ watch(
space.id,
space.id,
sharesStore.graphRoles,
{ count: true }
{ count: true, filter: "grantedToV2 ne ''" }
Copy link

Copilot AI Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider extracting the filter criteria into a named constant or adding an inline comment to explain why 'grantedToV2 ne ""' is used. This can improve clarity and maintainability by avoiding the use of a magic string.

Suggested change
{ count: true, filter: "grantedToV2 ne ''" }
{ count: true, filter: GRANTED_TO_FILTER }

Copilot uses AI. Check for mistakes.
)
memberCount.value = count || 1
} catch (e) {
Expand Down