Skip to content

Batch quota dialog preselects the first item's quota #4184

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

The batch "Edit quota" dialog for several users or spaces with different quotas preselects the quota of the first selected item and enables Confirm right away, so one click sets all items to that value. QuotaModal.vue starts with spaces[0]'s quota.

Reproduction Steps

  1. In Admin settings > Users, select a user with a 2 GB quota first, then two users without a restriction
  2. Click Edit quota

Expected Outcome

No value is preselected when the quotas differ, and Confirm stays disabled until a value is picked.

Actual Outcome

2 GB is preselected and Confirm is enabled. Same in Admin settings > Spaces.

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