fix(lib): fix incorrect value assignment in membership expiration settings
Description
fix(lib): fix incorrect value assignment in membership expiration settings
- Added a check to ensure actual value does not get replaced by default ('never') if membership expiration dialog is saved without any changes made
How to test
Check correct behavior in GUI. After opening 'Change member expiration' dialog of a user with a set expiration date, and saving it without making any changes, the expiration date should remain set.
Author's checklist
-
I have followed the contribution guidelines -
This MR has been tested or does not change functionality -
I have added relevant merge request dependencies (if this MR has any) -
I have added the correct labels -
I have assigned reviewers (if any are relevant) -
I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation -
I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)
Reviewer's checklist
-
This MR has been tested or does not change functionality -
This MR has correct commit message format
Closes STR-1182
Edited by Michal Berky