mirror of https://github.com/rancher/ui.git
19 lines
350 B
JavaScript
19 lines
350 B
JavaScript
import K8sResource from 'ui/models/k8s-resource';
|
|
|
|
var Namespace = K8sResource.extend({
|
|
isSystem: Ember.computed.equal('id','kube-system'),
|
|
|
|
icon: function() {
|
|
if ( this.get('isSystem') )
|
|
{
|
|
return 'icon icon-gear';
|
|
}
|
|
else
|
|
{
|
|
return 'icon icon-folder';
|
|
}
|
|
}.property('isSystem'),
|
|
});
|
|
|
|
export default Namespace;
|