space_outliner.py draws OUTLINER_MT_collection_view_layer only when space.display_mode == 'VIEW_LAYER'; the web Data menu now follows, so the submenu disappears in Blender File and Data API modes. The headed case checks both modes against the Parts collection row. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>