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);
|
||||
}
|
||||
|
||||
static fromJson(
|
||||
projectJson: RSProject.reducerProjectJson
|
||||
): RSProject.reducerProject {
|
||||
return RSProject.fromJson(projectJson);
|
||||
static fromJson(projectJson: RSProject.reducerProjectJson): SqProject {
|
||||
return new SqProject(RSProject.fromJson(projectJson));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user