We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db6a7b commit 01df16fCopy full SHA for 01df16f
packages/editor/src/components/collab-sidebar/index.js
@@ -128,8 +128,9 @@ function NotesSidebar( { postId, mode } ) {
128
const prevArea = await getActiveComplementaryArea( 'core' );
129
const activeNotesArea = SIDEBARS.find( ( name ) => name === prevArea );
130
131
- // If the notes sidebar is not already active, enable the floating sidebar.
132
- if ( ! activeNotesArea ) {
+ if ( currentThread?.status === 'approved' ) {
+ enableComplementaryArea( 'core', collabHistorySidebarName );
133
+ } else if ( ! activeNotesArea ) {
134
enableComplementaryArea(
135
'core',
136
showFloatingSidebar
0 commit comments