mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 22:43:03 +00:00
54472: Create method in comcol-data-service intermediate commit
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Community } from '../../core/shared/community.model';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-create-community',
|
||||
@@ -8,7 +9,9 @@ import { Component } from '@angular/core';
|
||||
export class CreateCommunityPageComponent {
|
||||
|
||||
onSubmit(data: any) {
|
||||
console.log('yay, made it with name: ' + data.name);
|
||||
Object.assign(new Community(), {
|
||||
// TODO: Create community object to add to rest
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user