mirror of https://github.com/rancher/ui.git
25 lines
618 B
JavaScript
25 lines
618 B
JavaScript
import Component from '@ember/component';
|
|
import layout from './template';
|
|
import { inject as service } from '@ember/service'
|
|
import LazyIcon from 'shared/mixins/lazy-icon';
|
|
|
|
export default Component.extend(LazyIcon, {
|
|
settings: service(),
|
|
router: service(),
|
|
layout,
|
|
tagName: 'a',
|
|
|
|
classNames: ['catalog-box', 'p-0'],
|
|
classNameBindings: ['active::inactive', 'model.certifiedClass'],
|
|
|
|
model: null,
|
|
showIcon: true,
|
|
showDescription: true,
|
|
active: true,
|
|
launchAction: null,
|
|
|
|
didRender() {
|
|
this.initAppIcon();
|
|
},
|
|
});
|