Skip to content

Opening non-image attachments is brokenΒ #3849

@mejo-

Description

@mejo-

Describe the bug
Opening non-image attachments is broken in latest Text. I'd expect them to be opened in the Viewer, but instead a modal is displayed that tries to load them as image and displays them as broken image.

Probably related: #2924 @luka-nextcloud

To Reproduce
Steps to reproduce the behavior:

  1. Open a Text file, upload a non-image attachment
  2. Click on the attachment
  3. See the modal showing a broken image

Expected behavior
The attachment should be opened in the viewer.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghigh

Type

No type

Projects

Status

β˜‘οΈ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions