Cleanup display of image commands to be better shared
Also moves the work into a TS component
This commit is contained in:
parent
7f436bb54a
commit
1d60414a23
10 changed files with 41 additions and 51 deletions
|
@ -0,0 +1,5 @@
|
|||
<div class="image-command-element">
|
||||
<div class="nondocker-command" ng-if="!$ctrl.getDockerfileCommand($ctrl.command)">{{ ::$ctrl.command.join(' ') }}</div>
|
||||
<dockerfile-command command="::$ctrl.getDockerfileCommand($ctrl.command)"
|
||||
ng-if="$ctrl.getDockerfileCommand($ctrl.command)"></dockerfile-command>
|
||||
</div>
|
Reference in a new issue