Skip to content

Commit 7855a23

Browse files
committed
fix(shape): fix replaceInto selector creationId
1 parent 36f65a0 commit 7855a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/shape.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export class Shape {
149149

150150
const findMethod = this.hasCreationId ? 'findByCreationId' : 'findByName';
151151
const selector = this.hasCreationId
152-
? this.shape.selector.creationId
152+
? this.name
153153
: this.shape.selector.name;
154154

155155
const sourceElementOnTargetSlide = await XmlHelper[findMethod](

0 commit comments

Comments
 (0)