feat(node-details): move engine labels from node-details panel to engine-details panel (#2966)
parent
7a8a54c96a
commit
6591498ab9
|
@ -29,6 +29,10 @@
|
|||
<td>Network Plugins</td>
|
||||
<td>{{ $ctrl.engine.networkPlugins | arraytostr: ', ' }}</td>
|
||||
</tr>
|
||||
<tr ng-if="$ctrl.engine.engineLabels.length">
|
||||
<td>Engine Labels</td>
|
||||
<td>{{ $ctrl.engine.engineLabels | labelsToStr:', ' }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</rd-widget-body>
|
||||
|
|
|
@ -26,10 +26,6 @@
|
|||
<td><span class="label label-{{ $ctrl.details.status | nodestatusbadge }}">{{
|
||||
$ctrl.details.status }}</span></td>
|
||||
</tr>
|
||||
<tr ng-if=" $ctrl.details.engineLabels.length">
|
||||
<td>Engine Labels</td>
|
||||
<td>{{ $ctrl.details.engineLabels | labelsToStr:', ' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="nopadding">
|
||||
|
|
|
@ -62,7 +62,8 @@ angular.module('portainer.docker').controller('NodeDetailsViewController', [
|
|||
return {
|
||||
releaseVersion: node.EngineVersion,
|
||||
volumePlugins: transformPlugins(node.Plugins, 'Volume'),
|
||||
networkPlugins: transformPlugins(node.Plugins, 'Network')
|
||||
networkPlugins: transformPlugins(node.Plugins, 'Network'),
|
||||
engineLabels: node.EngineLabels,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -73,7 +74,6 @@ angular.module('portainer.docker').controller('NodeDetailsViewController', [
|
|||
managerAddress: node.ManagerAddr,
|
||||
availability: node.Availability,
|
||||
status: node.Status,
|
||||
engineLabels: node.EngineLabels,
|
||||
nodeLabels: node.Labels
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue