mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Handle display of roles with expiration set to infinity correctly. Fixes #3352
This commit is contained in:
@@ -2598,6 +2598,11 @@ define([
|
||||
} else {
|
||||
this.has_datepicker = true;
|
||||
var self = this;
|
||||
if (!_.isUndefined(data.value) && !_.isNull(data.value)
|
||||
&& data.value.toLowerCase() === 'infinity') {
|
||||
data.value = null;
|
||||
}
|
||||
|
||||
this.$el.find('input').first().datetimepicker(
|
||||
_.extend({
|
||||
keyBinds: {
|
||||
|
||||
Reference in New Issue
Block a user