Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

drop on panel fix #8775

Merged

Conversation

SYBIOTE
Copy link
Member

@SYBIOTE SYBIOTE commented Sep 13, 2023

Summary

added a feature to obtain file type if react dnd fails

References

closes #insert number here

Checklist

  • If this PR is still a WIP, convert to a draft
  • When this PR is ready, mark it as "Ready for review"
  • ensure all checks pass
  • Changes have been manually QA'd
  • Changes reviewed by at least 2 approved reviewer

QA Steps

List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.

@@ -394,7 +396,10 @@ const FileBrowserContentPanel: React.FC<FileBrowserContentPanelProps> = (props)
const DropArea = () => {
const [{ isFileDropOver }, fileDropRef] = useDrop({
accept: [...SupportedFileTypes],
drop: (dropItem) => dropItemsOnPanel(dropItem as any),
drop: (dropItem) => {
console.log(dropItem)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cleanup log

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, im on it

@SYBIOTE SYBIOTE added this pull request to the merge queue Sep 14, 2023
Merged via the queue into dev with commit 3879dcd Sep 14, 2023
8 checks passed
@SYBIOTE SYBIOTE deleted the 8768-bug-uploading-ktx2-files-is-creating-directory-with-same-name branch September 14, 2023 05:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Uploading KTX2 files is creating directory with same name
2 participants