'use strict';

function Location(location) {
  this.location = location;
}

Object.defineProperty(Location.prototype, 'id', {
  get: function() {
    return this.location.id;
  }
});

Object.defineProperty(Location.prototype, 'name', {
  get: function() {
    return this.location.name;
  }
});

module.exports = Location;

@@ -241,32 +241,97 @@
 t: function() %7B%0A
+    if (!this.location.name) %7B%0A      return 'No location';%0A    %7D%0A
     return this.

Use 'No Location' if location name is empty