mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
* feat(image-details): display image layer depth and sort by it by default (#1706) * refactor(image-details): rename 'Depth' to 'Order' in image layers table * refactor(image-details): sort image layers from the bottom to the top one
9 lines
236 B
JavaScript
9 lines
236 B
JavaScript
function ImageLayerViewModel(order, data) {
|
|
this.Order = order;
|
|
this.Id = data.Id;
|
|
this.Created = data.Created;
|
|
this.CreatedBy = data.CreatedBy;
|
|
this.Size = data.Size;
|
|
this.Comment = data.Comment;
|
|
this.Tags = data.Tags;
|
|
}
|