Fix project serialization not returning class
This commit is contained in:
parent
de73a98735
commit
17cc2a42cc
|
@ -120,9 +120,7 @@ export class SqProject {
|
||||||
return RSProject.toJson(this._value);
|
return RSProject.toJson(this._value);
|
||||||
}
|
}
|
||||||
|
|
||||||
static fromJson(
|
static fromJson(projectJson: RSProject.reducerProjectJson): SqProject {
|
||||||
projectJson: RSProject.reducerProjectJson
|
return new SqProject(RSProject.fromJson(projectJson));
|
||||||
): RSProject.reducerProject {
|
|
||||||
return RSProject.fromJson(projectJson);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user