mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[field format] Lock color version, allow deletion from any position
This commit is contained in:
parent
d58d14d7fd
commit
fee4e0d99c
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@
|
|||
"@spalger/ui-ace": "0.2.3",
|
||||
"angular": "1.2.28",
|
||||
"angular-bindonce": "0.3.1",
|
||||
"angular-bootstrap-colorpicker": "^3.0.18",
|
||||
"angular-bootstrap-colorpicker": "3.0.19",
|
||||
"angular-elastic": "2.5.0",
|
||||
"angular-route": "1.2.28",
|
||||
"ansicolors": "0.3.2",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="form-group">
|
||||
<div ng-repeat="color in editor.formatParams.colors">
|
||||
<div class="editor-color">
|
||||
<button ng-if="$index > 0" aria-label="Remove Color" ng-click="removeColor($index)" tooltip="Remove Color" tooltip-append-to-body="true" type="button" class="btn btn-xs btn-danger editor-color-remove">
|
||||
<button ng-if="editor.formatParams.colors.length > 1" aria-label="Remove Color" ng-click="removeColor($index)" tooltip="Remove Color" tooltip-append-to-body="true" type="button" class="btn btn-xs btn-danger editor-color-remove">
|
||||
<i aria-hidden="true" class="fa fa-times"></i>
|
||||
</button>
|
||||
<div class="form-group">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue