attachment: fix over reliance on fileType() #3479
No reviewers
Labels
No labels
BE Request
Backlog
Better behavior
Blocked by deps
Bug
Code Review
Discussion
Doing
Feature Request / Enhancement
In the shining bright future maybe
It's complicated
MS Edge
Mememoon (or other niche browsers)
Missing API
Missing feature
Missing l10n/i18n
NL1
NL2
NL4
Need to verify on develop
RELEASE BLOCKER
Reassign or Close
Refactor
Regression
Safari
To Do
User story
Waiting on godot
accessibility
better documentation
chore
confirmed
easy ticket
incident
l10n update
mastoapi
mobile
needs design
needs-info
needs-review
stupid
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pleroma/pleroma-fe!3479
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Yonle/pleroma-fe:filetypeservice-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
also fixes:
attachment: fix over reliance on fileType()to WIP: attachment: fix over reliance on fileType()WIP: attachment: fix over reliance on fileType()to attachment: fix over reliance on fileType()@ -64,3 +63,1 @@img:fileTypeService.fileType(this.attachment.mimetype) === 'image' &&document.createElement('img'),img: this.attachment.type == "image" && document.createElement('img'),should be
=== 'image'@ -46,3 +48,3 @@.reduce((acc, attachment, i) => {if (attachment.mimetype.includes('audio')) {if (attachment.type == 'audio') {===instead of==