Skip to content

Commit 0466f7d

Browse files
authored
Editor: Multi-entity saving: Show correct count of entities to be saved (#66482)
The modal was incorrectly displaying the number of different *types* of entities to be saved. This result was inconsistent with the actual list of entities rendered underneath and with the "Review _n_ changes" label on the left-hand sidebar.
1 parent 506342b commit 0466f7d

File tree

1 file changed

+2
-2
lines changed
  • packages/editor/src/components/entities-saved-states

1 file changed

+2
-2
lines changed

packages/editor/src/components/entities-saved-states/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ export function EntitiesSavedStatesExtensible( {
177177
_n(
178178
'There is <strong>%d site change</strong> waiting to be saved.',
179179
'There are <strong>%d site changes</strong> waiting to be saved.',
180-
sortedPartitionedSavables.length
180+
dirtyEntityRecords.length
181181
),
182-
sortedPartitionedSavables.length
182+
dirtyEntityRecords.length
183183
),
184184
{ strong: <strong /> }
185185
)

0 commit comments

Comments
 (0)