Skip to content

Commit 38a7281

Browse files
authored
Fixed layouts validation (#2723)
1 parent a39e3fa commit 38a7281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/admin/pages/pageLayoutDetailsModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class PageLayoutDetailsModal extends React.Component<PageLayoutModalProps
112112

113113
if (permalinkError || titleError) {
114114
const errors = {};
115-
if (permalinkError) errors['permalink'] = permalinkError;
115+
if (permalinkError) errors['permalinkTemplate'] = permalinkError;
116116
if (titleError) errors['title'] = titleError;
117117

118118
this.setState({ errors });

0 commit comments

Comments
 (0)