Skip to content

Commit

Permalink
Update app/model/SeatModel.js
Browse files Browse the repository at this point in the history
Co-authored-by: Valerii Malkov <VMalkov@luxoft.com>
  • Loading branch information
LiliiaShlikhtLuxoft and Valerii Malkov authored Sep 16, 2021
1 parent ef83574 commit 872d647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/model/SeatModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ SDL.SeatModel = Em.Object.extend({
}
}
var temp = this.dfs(from[key], to[key]);
if (Object.keys({}).length) {
if (Object.keys(temp).length) {
result[key] = temp;
} else {
delete result[key];
Expand Down

0 comments on commit 872d647

Please sign in to comment.