How to hide unpublished course content in preview mode

Hello every one, I have some issue while using preview mode in studio. If course content is unpublish I stlil see it in preview mode. Is there any way to hide it such as in lms
Here is the image about this

I found that 2 domain same call 1 function in courseware but I don’t know how to custom, viewing unpublished blocks is one of the main reasons for using the Preview mode. This way, you can check how these blocks look in the LMS (some XBlocks behave differently in Studio than in the LMS). So this is a feature, not a bug :slight_smile: