Commit 1d9ea44e authored by Adam Sasin's avatar Adam Sasin
Browse files

Fix mutated property

parent c48faea5
...@@ -47,14 +47,11 @@ import ExampleModuleMessaging from '@digital-earth/frontend-framework/lib/messag ...@@ -47,14 +47,11 @@ import ExampleModuleMessaging from '@digital-earth/frontend-framework/lib/messag
import { PulsarProgressReport } from '@digital-earth/frontend-framework/lib/messaging/PulsarMessages'; import { PulsarProgressReport } from '@digital-earth/frontend-framework/lib/messaging/PulsarMessages';
@Component({ @Component({
components: { Demap, ProgressDialog }, components: { Demap, ProgressDialog }
props: {
progressReport: PulsarProgressReport
}
}) })
export default class Workflow extends Vue { export default class Workflow extends Vue {
private exampleModule: ExampleModuleMessaging = new ExampleModuleMessaging(); private exampleModule: ExampleModuleMessaging = new ExampleModuleMessaging();
private progressReport: PulsarProgressReport; private progressReport: PulsarProgressReport = new PulsarProgressReport();
protected sendRequest(): void { protected sendRequest(): void {
this.exampleModule.sendRequest((progressReport: PulsarProgressReport) => { this.exampleModule.sendRequest((progressReport: PulsarProgressReport) => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment