1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend/src/component/application/application-list-component.js

25 lines
471 B
JavaScript
Raw Normal View History

2016-12-03 15:54:15 +01:00
import React, { Component } from 'react';
class ClientStrategies extends Component {
componentDidMount () {
this.props.fetchApplications();
}
render () {
if (!this.props.applications) {
return null;
}
const source = this.props.applications.map(item => item.appName).join(', ');
return (
<div>
{source}
</div>
);
}
}
export default ClientStrategies;