forked from DGNum/gestioCOF
Remove double negative
This commit is contained in:
parent
339223bec0
commit
7171a7567c
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ var Account = Backbone.Model.extend({
|
|||
},
|
||||
|
||||
view: function () {
|
||||
if (!this.is_empty_account()) {
|
||||
if (this.is_empty_account()) {
|
||||
view_class = EmptyAccountView
|
||||
} else if (this.get("trigramme") == 'LIQ') {
|
||||
view_class = LIQView
|
||||
|
@ -46,7 +46,7 @@ var Account = Backbone.Model.extend({
|
|||
},
|
||||
|
||||
is_empty_account: function () {
|
||||
return (this.id != 0)
|
||||
return (this.id == 0)
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue