portainer/app/extensions/registry-management/models/registryRepository.js

4 lines
108 B
JavaScript

function RegistryRepositoryViewModel(data) {
this.Name = data.name;
this.TagsCount = data.tags.length;
}