Also show hostPath in select

This commit is contained in:
Johannes Zellner
2020-10-30 15:14:59 +01:00
parent 04299a7436
commit 75ad644769

View File

@@ -836,9 +836,7 @@
<tbody>
<tr ng-repeat="mount in storage.mounts">
<td>
<multiselect ng-model="mount.volume" data-compare-by="hostPath" options="volume.name for volume in volumes" data-multiple="false" filter-after-rows="5" scroll-after-rows="10"></multiselect>
<!-- <select class="form-control input-xs" ng-model="mount.volume" ng-options="v as v.name + ' (' + v.hostPath + ')' for v in volumes"></select> -->
<multiselect ng-model="mount.volume" data-compare-by="hostPath" options="volume.name + ' - ' + volume.hostPath for volume in volumes" data-multiple="false" filter-after-rows="5" scroll-after-rows="10"></multiselect>
</td>
<td class="text-left" style="vertical-align: middle;">
<input type="checkbox" ng-model="mount.readOnly" style="margin-top: initial;"/>