change row key from id to uuid

pull/2699/head
Iris Scholten 2018-02-08 10:42:32 -08:00
parent 231801cb34
commit 1d524e55a5
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import React, {Component, PropTypes} from 'react'
import uuid from 'node-uuid'
import ProvidersTableRow from 'src/admin/components/chronograf/ProvidersTableRow'
import ProvidersTableRowNew from 'src/admin/components/chronograf/ProvidersTableRowNew'
@ -88,7 +89,7 @@ class ProvidersTable extends Component {
</div>
{mappings.map(mapping =>
<ProvidersTableRow
key={mapping.id}
key={uuid.v4()}
mapping={mapping}
organizations={organizations}
schemes={SCHEMES}