mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
[Domain] Existing expression will expression will always result into false
This commit is contained in:
@@ -35,7 +35,7 @@ define('pgadmin.node.domain', [
|
||||
var ConstraintModel = pgBrowser.Node.Model.extend({
|
||||
idAttribute: 'conoid',
|
||||
initialize: function(attrs) {
|
||||
if (!_.size(attrs) === 0) {
|
||||
if (_.size(attrs) !== 0) {
|
||||
this.convalidated_default = this.get('convalidated');
|
||||
}
|
||||
pgBrowser.Node.Model.prototype.initialize.apply(this, arguments);
|
||||
|
Reference in New Issue
Block a user