Skip to content

Commit

Permalink
Fixed compilation of TenantQuotaPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparez15 committed Aug 16, 2024
1 parent 5f8c868 commit 049b4cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void refresh() {
SpinnerItem usersQuota = ItemFactory.newSpinnerItem(USERSQUOTA, tenant.getMaxUsers());
usersQuota.setDisabled(readonly);
usersQuota.setRequired(false);
usersQuota.setMin(tenant.getUsers());
usersQuota.setMin((double) tenant.getUsers());
usersQuota.setStep(1);
usersQuota.setWidth(80);
if (!readonly)
Expand All @@ -93,7 +93,7 @@ public void refresh() {
SpinnerItem guestsQuota = ItemFactory.newSpinnerItem(GUESTSQUOTA, "readonlyusersquota", tenant.getMaxGuests());
guestsQuota.setDisabled(readonly);
guestsQuota.setRequired(false);
guestsQuota.setMin(tenant.getGuests());
guestsQuota.setMin((double) tenant.getGuests());
guestsQuota.setStep(1);
guestsQuota.setWidth(80);
if (!readonly)
Expand Down

0 comments on commit 049b4cb

Please sign in to comment.