Skip to content

Commit

Permalink
fixed castings
Browse files Browse the repository at this point in the history
  • Loading branch information
car031 committed Oct 31, 2024
1 parent 4e6afd7 commit 56d6875
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((double) tenant.getUsers());
usersQuota.setMin(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((double) tenant.getGuests());
guestsQuota.setMin(tenant.getGuests());
guestsQuota.setStep(1);
guestsQuota.setWidth(80);
if (!readonly)
Expand Down

0 comments on commit 56d6875

Please sign in to comment.