mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 22:43:03 +00:00
18 lines
446 B
TypeScript
18 lines
446 B
TypeScript
import { Component } from '@angular/core';
|
|
import { Community } from '../../core/shared/community.model';
|
|
|
|
@Component({
|
|
selector: 'ds-create-community',
|
|
styleUrls: ['./create-community-page.component.scss'],
|
|
templateUrl: './create-community-page.component.html'
|
|
})
|
|
export class CreateCommunityPageComponent {
|
|
|
|
onSubmit(data: any) {
|
|
Object.assign(new Community(), {
|
|
// TODO: Create community object to add to rest
|
|
});
|
|
}
|
|
|
|
}
|