Skip to content

Sorting spaces by total quota treats "Unrestricted" as the smallest #3720

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Sorting spaces by total quota treats "Unrestricted" as the smallest. Cause: packages/web-pkg/src/helpers/ui/resourceTiles.ts:73-86 sorts the raw spaceQuota.total, where 0 means unlimited.

Reproduction Steps

  1. Sort the Spaces table by total quota, descending.

Expected Outcome

Unlimited spaces count as the largest.

Actual Outcome

They are listed last; sorting by remaining quota lists them first.

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions