Sha256: 44d2ee22983b56c3cebc8f1f1b054b980cc128b6225269a32cfc4b295594af5c
Contents?: true
Size: 933 Bytes
Versions: 62
Compression:
Stored size: 933 Bytes
Contents
// eslint-disable-next-line import/prefer-default-export export function getTypeIcon(type) { const typeIcon = { name: '', type: '' }; switch (type) { case 'yum': typeIcon.name = 'bundle'; typeIcon.type = 'pf'; break; case 'source_rpm': typeIcon.name = 'code'; typeIcon.type = 'fa'; break; case 'file': typeIcon.name = 'file'; typeIcon.type = 'fa'; break; case 'debug': typeIcon.name = 'bug'; typeIcon.type = 'fa'; break; case 'iso': typeIcon.name = 'file-image-o'; typeIcon.type = 'fa'; break; case 'beta': typeIcon.name = 'bold'; typeIcon.type = 'fa'; break; case 'kickstart': typeIcon.name = 'futbol-o'; typeIcon.type = 'fa'; break; case 'containerimage': typeIcon.name = 'cube'; typeIcon.type = 'fa'; break; default: typeIcon.name = 'question'; typeIcon.type = 'fa'; break; } return typeIcon; }
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
katello-4.4.0 | webpack/services/index.js |
katello-4.4.0.rc2 | webpack/services/index.js |