Skip to content

Commit

Permalink
Fix PageHeadDeleteModal
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Jan 16, 2025
1 parent 0821cfc commit 0dcd7b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const PageHead = ({ templates, page, sets, values, currentSet,
}
<PageHeadDeleteModal
title={capitalize(page.verbose_name)}
name={currentSetValue.text}
name={currentSetValue ? currentSetValue.text : null}
show={showDeleteModal}
onClose={closeDeleteModal}
onSubmit={handleDeleteSet}
Expand Down

0 comments on commit 0dcd7b7

Please sign in to comment.