Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Commit 0a4cf4d

Browse files
authored
Merge pull request #396 from getblocklab/fix/delete-row
Fix an issue where removing rows sometimes didn't work
2 parents 3e0d4a1 + cbf61d5 commit 0a4cf4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/blocks/components/repeater-rows.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ import { Fields } from './';
7171
return () => {
7272
const { parentBlockProps } = this.props;
7373
const attr = { ...parentBlockProps.attributes };
74-
const attribute = attr[ parentName ];
7574
const parentName = this.getParent();
75+
const attribute = attr[ parentName ];
7676
const repeaterRows = this.getRows( attribute );
7777

7878
if ( ! repeaterRows ) {

0 commit comments

Comments
 (0)