mirror of https://github.com/rancher/ui.git
16 lines
455 B
JavaScript
16 lines
455 B
JavaScript
import Resource from '@rancher/ember-api-store/models/resource';
|
|
import { get, computed } from '@ember/object';
|
|
|
|
export default Resource.extend({
|
|
type: 'sourcecodecredential',
|
|
username: computed('displayName', function(){
|
|
return get(this, 'displayName');
|
|
}),
|
|
profilePicture: computed('avatarUrl', function(){
|
|
return get(this, 'avatarUrl');
|
|
}),
|
|
profileUrl: computed('htmlUrl', function(){
|
|
return get(this, 'htmlUrl');
|
|
}),
|
|
});
|