fix(joyent-cp-frontend): add polling interval to dg list

This commit is contained in:
Sérgio Ramos 2017-06-11 22:59:03 +01:00 committed by Judit Greskovits
parent 376136f8dd
commit 4923f39463

View File

@ -82,6 +82,9 @@ DeploymentGroupList.propTypes = {
}; };
const DeploymentGroupListWithData = graphql(DeploymentGroupsQuery, { const DeploymentGroupListWithData = graphql(DeploymentGroupsQuery, {
options: {
pollInterval: 1000
},
props: ({ data: { deploymentGroups, loading, error } }) => ({ props: ({ data: { deploymentGroups, loading, error } }) => ({
deploymentGroups, deploymentGroups,
loading, loading,