[SOLVED] My preview extension doesn't disappear when jumping from multiple content to single content

Issue:
My multi-content Schema is configured with a preview function, and I also have a single-content Schema, but the single-content Schema is not configured with a preview function. At this time, when I jump to the single-content page from the stand-alone left menu of the multi-content Schema Content Item , this preview function does not disappear, click it, it will not work, when I refresh the page, it disappears, I think this should be a bug, or are there other settings that I have not found that can solve this problem?

As shown in the picture, it does not disappear

But actually, it should be rendered like this

I have pushed a fix to the master branch