Uploading segmentations in the viewer

I ran into the same issue, and the solution was to import the @ohif/extension-cornerstone-dicom-seg extension (either using the cli, in the config.js or your custom mode) since the viewer does not know how to handle SEG files without the corresponding SOPClassHandler and viewport.