ARTEMIS-4183 fix relations on refresh icw added nodes
This commit is contained in:
parent
812cdf3589
commit
5d024b7dd5
|
@ -104,7 +104,6 @@ var Artemis;
|
||||||
ctrl.cntQueues = 0;
|
ctrl.cntQueues = 0;
|
||||||
ctrl.cntInternalQueues = 0;
|
ctrl.cntInternalQueues = 0;
|
||||||
|
|
||||||
ctrl.hiddenRelations = [];
|
|
||||||
function updateAddressKind() {
|
function updateAddressKind() {
|
||||||
if(ctrl.kinds.Address && !ctrl.showAddresses) {
|
if(ctrl.kinds.Address && !ctrl.showAddresses) {
|
||||||
delete ctrl.kinds.Address;
|
delete ctrl.kinds.Address;
|
||||||
|
@ -184,7 +183,7 @@ var Artemis;
|
||||||
if(!ctrl.showConnectors) {
|
if(!ctrl.showConnectors) {
|
||||||
ctrl.data.relations = [];
|
ctrl.data.relations = [];
|
||||||
} else {
|
} else {
|
||||||
ctrl.data.relations = ctrl.hiddenRelations;
|
ctrl.data.relations = ctrl.relations;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$scope.$watch('$ctrl.showConnectors', function () {
|
$scope.$watch('$ctrl.showConnectors', function () {
|
||||||
|
@ -245,7 +244,6 @@ var Artemis;
|
||||||
};
|
};
|
||||||
|
|
||||||
load();
|
load();
|
||||||
ctrl.hiddenRelations = ctrl.relations;
|
|
||||||
function load() {
|
function load() {
|
||||||
ctrl.items = {};
|
ctrl.items = {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue