diff --git a/projects/plugins/jetpack/changelog/fix-sig-not-visible-in-jetpack-sidebar b/projects/plugins/jetpack/changelog/fix-sig-not-visible-in-jetpack-sidebar new file mode 100644 index 0000000000000..9de0f9a2c3701 --- /dev/null +++ b/projects/plugins/jetpack/changelog/fix-sig-not-visible-in-jetpack-sidebar @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Fixed SIG not visible in Jetpack sidebar diff --git a/projects/plugins/jetpack/extensions/plugins/publicize/index.js b/projects/plugins/jetpack/extensions/plugins/publicize/index.js index 94584b2d1d36c..ba5cd02b09819 100644 --- a/projects/plugins/jetpack/extensions/plugins/publicize/index.js +++ b/projects/plugins/jetpack/extensions/plugins/publicize/index.js @@ -28,7 +28,7 @@ export const name = 'publicize'; const PublicizeSettings = () => { const { isLoadingModules, isChangingStatus, isModuleActive, changeStatus } = useModuleStatus( name ); - const { isSocialImageGeneratorAvailable } = usePublicizeConfig(); + const { isSocialImageGeneratorAvailable, isPublicizeEnabled } = usePublicizeConfig(); let children = null; let panels = null; @@ -45,13 +45,15 @@ const PublicizeSettings = () => { ); } else { children = ( - - - + <> + + + + { isSocialImageGeneratorAvailable && isPublicizeEnabled && } + ); panels = ( <> - { isSocialImageGeneratorAvailable && }