forked from hazza/dspace-angular
created new process page
This commit is contained in:
16
src/app/process-page/new/new-process.component.ts
Normal file
16
src/app/process-page/new/new-process.component.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Script } from '../scripts/script.model';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-new-process',
|
||||
templateUrl: './new-process.component.html',
|
||||
styleUrls: ['./new-process.component.scss'],
|
||||
})
|
||||
export class NewProcessComponent {
|
||||
public selectedScript: Script;
|
||||
|
||||
selectScript(script: Script) {
|
||||
this.selectedScript = script;
|
||||
console.log('selected script: ', script);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user