File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ export default class DraftRegistrationModel extends OsfModel {
3737 @attr ( 'fixstringarray' ) tags ! : string [ ] ;
3838 @attr ( 'node-license' ) nodeLicense ! : NodeLicense | null ;
3939 @attr ( 'node-category' ) category ! : NodeCategory ;
40+ @attr ( 'boolean' ) hasProject ! : boolean ;
4041
4142 @belongsTo ( 'node' , { inverse : 'draftRegistrations' } )
4243 branchedFrom ! : DS . PromiseObject < NodeModel > & NodeModel ;
Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ export default Factory.extend<DraftRegistration & DraftRegistrationTraits>({
6565
6666 category : NodeCategory . Uncategorized ,
6767
68+ hasProject : true ,
69+
6870 withRegistrationMetadata : trait < DraftRegistration > ( {
6971 afterCreate ( draftRegistration ) {
7072 draftRegistration . update ( {
You can’t perform that action at this time.
0 commit comments