diff options
author | yipstanley <stanley_yip@brown.edu> | 2019-02-13 16:38:09 -0500 |
---|---|---|
committer | yipstanley <stanley_yip@brown.edu> | 2019-02-13 16:38:09 -0500 |
commit | 430878f6dd8d36b1322e15d0898ada0d44fecacb (patch) | |
tree | 027fb9b578a3fee8d97b16922a930806da00afaa /src/fields/BasicField.ts | |
parent | 2eb147ab8f25e6dd90f47cf21499c7340642f0c9 (diff) |
Asdfjkla/sdfklj
Diffstat (limited to 'src/fields/BasicField.ts')
-rw-r--r-- | src/fields/BasicField.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fields/BasicField.ts b/src/fields/BasicField.ts index 40ead0953..9476f5d21 100644 --- a/src/fields/BasicField.ts +++ b/src/fields/BasicField.ts @@ -1,5 +1,6 @@ import { Field, FIELD_ID } from "./Field" import { observable, computed, action } from "mobx"; +import { Server } from "../client/Server"; export abstract class BasicField<T> extends Field { constructor(data: T, id: FIELD_ID = undefined) { @@ -21,6 +22,7 @@ export abstract class BasicField<T> extends Field { return; } this.data = value; + Server.UpdateField(this); } @action |