Skip to content

Commit

Permalink
fix(category): reset drag state after drop
Browse files Browse the repository at this point in the history
  • Loading branch information
Yelinz committed Jan 12, 2024
1 parent 76b0cdb commit 35879e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addon/components/category-nav/category.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ export default class CategoryNavCategoryComponent extends Component {

if (!this.args.category.id) return;

this.dragCounter = 0;
this.isDragOver = false;

const documentIds = event.dataTransfer.getData("text").split(",");

const success = yield Promise.all(
Expand Down

0 comments on commit 35879e4

Please sign in to comment.