We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51025e1 + 23fe9ec commit 747cb44Copy full SHA for 747cb44
cli/command/image/tree.go
@@ -170,10 +170,16 @@ func getPossibleChips(view treeView) (chips []imageChip) {
170
171
var possible []imageChip
172
for _, img := range view.images {
173
+ details := []imageDetails{img.Details}
174
+
175
for _, c := range img.Children {
176
+ details = append(details, c.Details)
177
+ }
178
179
+ for _, d := range details {
180
for idx := len(remaining) - 1; idx >= 0; idx-- {
181
chip := remaining[idx]
- if chip.check(&c.Details) {
182
+ if chip.check(&d) {
183
possible = append(possible, chip)
184
remaining = append(remaining[:idx], remaining[idx+1:]...)
185
}
0 commit comments