Sha256: aa6224e31da4ce538d1d74be6daa4e18355dc0ffedb5e0618e0236fe98737c6e

Contents?: true

Size: 474 Bytes

Versions: 12

Compression:

Stored size: 474 Bytes

Contents

{
  simpleGuardColumnRenderer: function(value, cell, obj) {
    if (value === undefined || value === null) {
      return value
    }

    if (!(cell && cell.column && cell.column.config && cell.column.config.name)) {
      return value;
    }

    if (!(obj && obj.data)) {
      return value;
    }

    column_name = cell.column.config.name;
    with_not = obj.data[`${column_name}_not`];

    if (with_not) {
      return `NOT (${value})`
    }

    return value;
  }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
marty-8.5.0 app/components/marty/base_rule_view/client/base_rule_view.js
marty-8.4.1 app/components/marty/base_rule_view/client/base_rule_view.js
marty-8.3.1 app/components/marty/base_rule_view/client/base_rule_view.js
marty-8.2.0 app/components/marty/base_rule_view/client/base_rule_view.js
marty-8.0.0 app/components/marty/base_rule_view/client/base_rule_view.js
marty-6.1.0 app/components/marty/base_rule_view/client/base_rule_view.js
marty-5.2.0 app/components/marty/base_rule_view/client/base_rule_view.js
marty-5.1.4 app/components/marty/base_rule_view/client/base_rule_view.js
marty-5.1.3 app/components/marty/base_rule_view/client/base_rule_view.js
marty-5.1.2 app/components/marty/base_rule_view/client/base_rule_view.js
marty-5.1.1 app/components/marty/base_rule_view/client/base_rule_view.js
marty-5.1.0 app/components/marty/base_rule_view/client/base_rule_view.js