Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 464679b

Browse files
committed
Make copy method on baseframe viable for writable frame pbjects
1 parent 921da85 commit 464679b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/baseFrame.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class baseFrame {
6060
}
6161

6262
static copy(frame) {
63-
return baseFrame.fromJson(Object.assign(new Config, frame.config), {
63+
return this.constructor.fromJson(Object.assign(new Config, frame.config), {
6464
id: frame.id,
6565
project: frame.project,
6666
resource: frame.resource,

0 commit comments

Comments
 (0)