Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

essence-data-table

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

essence-data-table - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

9

lib/table.js

@@ -151,6 +151,5 @@ 'use strict';

value: function renderSortIcon(index) {
if (this.state.sortIcon[index]) {
return _react2.default.createElement('span', { key: 'sort-icon-' + index, className: 'e-icon-' + this.state.sortIcon[index] || '' });
}
return;
var icon = this.state.sortIcon[index] || '';
return _react2.default.createElement('span', { key: 'sort-icon-' + (index || ''), className: 'e-icon-' + icon });
}

@@ -173,3 +172,3 @@ }, {

},
[self.renderSortIcon(index), arr.name]
[index === 0 ? null : self.renderSortIcon(index), arr.name]
);

@@ -176,0 +175,0 @@ });

{
"name": "essence-data-table",
"version": "0.0.6",
"version": "0.0.7",
"description": "Essence Data Table - Data Table component.",

@@ -5,0 +5,0 @@ "author": "Hetmann W. Iohan <wilhelm.hetmann@evozon.com>",

@@ -100,6 +100,5 @@ import React from 'react';

renderSortIcon(index) {
if (this.state.sortIcon[index]) {
return (<span key={'sort-icon-' + index} className={'e-icon-' + this.state.sortIcon[index] || ''} />);
}
return;
let icon = this.state.sortIcon[index] || '';
return (<span key={'sort-icon-' + (index || '')} className={'e-icon-' + icon} />);
}

@@ -120,3 +119,6 @@

>
{[self.renderSortIcon(index), arr.name]}
{[
(index === 0 ? null : self.renderSortIcon(index)),
arr.name
]}
</DataTableColumn>

@@ -123,0 +125,0 @@ );

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc