mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 21:17:18 -04:00
Workaround to avoid drag bug
This commit is contained in:
parent
f6fb05d3f4
commit
d3c110cd8f
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@ BlazeComponent.extendComponent({
|
|||
// callback, we basically solve all issues related to reactive updates. A
|
||||
// comment below provides further details.
|
||||
onRendered() {
|
||||
const boardComponent = this.parentComponent().parentComponent();
|
||||
let boardComponent = this.parentComponent().parentComponent();
|
||||
if (!boardComponent)
|
||||
boardComponent = this.parentComponent();
|
||||
const itemsSelector = '.js-minicard:not(.placeholder, .js-card-composer)';
|
||||
const $cards = this.$('.js-minicards');
|
||||
$cards.sortable({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue