Fix display of enum GUCs on users/databases etc. Fixes #2067

This commit is contained in:
Murtuza Zabuawala 2017-01-17 10:45:01 +00:00 committed by Dave Page
parent 28621999f2
commit 6557433061

View File

@ -63,7 +63,7 @@
return Backgrid.Extension.SwitchCell; return Backgrid.Extension.SwitchCell;
break; break;
case "enum": case "enum":
model.set({'value': undefined}, {silent:true}); model.set({'value': value}, {silent:true});
var options = [], var options = [],
enumVals = variable.enumvals; enumVals = variable.enumvals;