Permalink
Browse files

Update Unit affiliation to point to Factions

  • Loading branch information...
markerikson committed Dec 30, 2017
1 parent da9dcbf commit 740e602e93a8f2454323b6429756bed4579f89dc
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/features/unitInfo/Unit.js
@@ -1,4 +1,4 @@
import {Model, many, attr} from "redux-orm";
import {Model, many, fk, attr} from "redux-orm";
export default class Unit extends Model {
@@ -7,7 +7,7 @@ export default class Unit extends Model {
static fields = {
id : attr(),
name : attr(),
affiliation : attr(),
affiliation : fk("Faction"),
color : attr(),
pilots : many("Pilot"),
mechs : many("Mech")

0 comments on commit 740e602

Please sign in to comment.