How to use the oni-save-parser.APTITUDE_NAMES.filter function in oni-save-parser

To help you get started, we’ve selected a few oni-save-parser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github RoboPhred / oni-duplicity / src / pages / SaveEditor / pages / Duplicants / pages / Jobs / pages / Aptitudes / component.tsx View on Github external
render() {
    const { className, duplicant } = this.props;

    const behavior = duplicant.getBehavior(MinionResumeBehavior);
    if (!behavior) {
      return (
        
          No resume behavior exists on this duplicant. Jobs may not have been
          initialized.
        
      );
    }

    const rows = APTITUDE_NAMES.filter(x => !SKIP_APTITUDES.has(x)).map(
      name => (
        
      )
    );

    return (
      <div>
        <table>
          <thead>
            <tr>
              <th>Aptitude Type</th></tr></thead></table></div>