<commit_before>import Component from '@ember/component';

import { tag } from 'ember-awesome-macros';
import { htmlSafe } from 'ember-awesome-macros/string';

export default Component.extend({
  tagName: 'tr',
  classNameBindings: ['selected', 'selectable'],

  selectable: false,

  badgeStyle: htmlSafe(tag`background-color: ${'row.color'}`),

  actions: {
    remove() {
      this.onRemove(this.get('row.id'));
    },
  },

  click() {
    if (this.selectable) {
      this.onSelect(this.get('row.id'));
    }
  },
});<commit_msg>fix-table-row: Use regular `computed()` instead of `ember-awesome-macros`<commit_after>import Component from '@ember/component';
import { computed } from '@ember/object';
import { htmlSafe } from '@ember/template';

export default Component.extend({
  tagName: 'tr',
  classNameBindings: ['selected', 'selectable'],

  selectable: false,

  badgeStyle: computed('row.color', function() {
    return htmlSafe(`background-color: ${this.row.color}`);
  }),

  actions: {
    remove() {
      this.onRemove(this.get('row.id'));
    },
  },

  click() {
    if (this.selectable) {
      this.onSelect(this.get('row.id'));
    }
  },
});
{'fraction_non_alphanumeric': 0.18369098712446352, 'fraction_numerical': 0.0, 'mean_word_length': 3.8583333333333334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7541689', 'n_tokens_mistral': 390, 'n_tokens_neox': 381, 'n_words': 73}