mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 15:25:22 +02:00
fix(image) add validation of image name in build image page [EE-3010] (#6988)
* EE-3010 add validation of image name
This commit is contained in:
parent
0864c371e8
commit
eb547162e9
2 changed files with 14 additions and 4 deletions
|
@ -47,7 +47,7 @@
|
|||
<span class="input-group-addon">name</span>
|
||||
<input type="text" class="form-control" ng-model="item.Name" placeholder="e.g. my-image:my-tag" auto-focus />
|
||||
<span class="input-group-addon"
|
||||
><i ng-class="{ true: 'fa fa-check green-icon', false: 'fa fa-times red-icon' }[item.Name !== '']" aria-hidden="true"></i
|
||||
><i ng-class="{ true: 'fa fa-check green-icon', false: 'fa fa-times red-icon' }[checkName(item.Name)]" aria-hidden="true"></i
|
||||
></span>
|
||||
</div>
|
||||
<!-- !name-input -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue