Listen to network configuration changes on Dashboard tab

Closes-Bug: #1544446

Change-Id: I7d633a19fb20b5047dcdfa9eddd943a92ff017f9
This commit is contained in:
Julia Aranovich 2016-02-20 13:10:24 +03:00 committed by Vitaly Kramskikh
parent feff938157
commit d33f034018
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ function(_, i18n, $, React, utils, models, dispatcher, dialogs, componentMixins,
modelOrCollection: function(props) {return props.cluster.get('pluginLinks');},
renderOn: 'update change'
}),
componentMixins.backboneMixin({
modelOrCollection: function(props) {return props.cluster.get('networkConfiguration');}
}),
componentMixins.backboneMixin('cluster', 'change'),
componentMixins.pollingMixin(20, true)
],