Skip to content

Commit

Permalink
core: frontend: componentes: version-chooser: Disable delete if less …
Browse files Browse the repository at this point in the history
…than 2 images are available

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Jun 19, 2024
1 parent a1fa04f commit 0e80fbd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
:bootstrap-version="bootstrap_version"
:update-available="updateIsAvailable(image)"
:deleting="deleting.endsWith(image.tag)"
:enable-delete="local_versions.result.local.length > 2"
@delete="deleteVersion"
@apply="setVersion"
@pull-and-apply="pullAndSetVersion"
Expand Down

0 comments on commit 0e80fbd

Please sign in to comment.