Refactor add-contributor component to DDAU
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import computed from 'ember-computed';
|
||||
import { isPresent } from 'ember-utils';
|
||||
|
||||
export default function(key) {
|
||||
return computed(key, function() {
|
||||
return isPresent(this.get(key));
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user