Merge branch 'master' of gitlab.com:benja-2/ember-cli-dunlop

This commit is contained in:
2018-12-03 12:36:21 -03:00
3 changed files with 4 additions and 2 deletions
@@ -15,8 +15,8 @@ export default Component.extend({
filter_text: Ember.computed('{lower_bound,upper_bound,display_addition,inclusive}', function () {
var lower_limit, upper_limit, range, isInclusive;
isInclusive = this.get('inclusive');
lower_limit = this.get('lower_bound') || '-';
upper_limit = this.get('upper_bound') || '-';
lower_limit = this.get('lower_bound') || 'a';
upper_limit = this.get('upper_bound') || 'b';
range = isInclusive ? `[${lower_limit}, ${upper_limit}]` : `(${lower_limit}, ${upper_limit})`;
if (this.get('display_addition')) {
range += " " + this.get('display_addition');