mirror of
https://github.com/wekan/wekan.git
synced 2026-03-10 23:52:34 +01:00
Fix adding list at mobile view, every list had a sort number 1
- html class list doesn't exist at mobile view. class js-list exists on mobile and desktop view
This commit is contained in:
parent
6d855967fe
commit
fa9641ba7b
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ BlazeComponent.extendComponent({
|
||||||
Lists.insert({
|
Lists.insert({
|
||||||
title,
|
title,
|
||||||
boardId: Session.get('currentBoard'),
|
boardId: Session.get('currentBoard'),
|
||||||
sort: $('.list').length,
|
sort: $('.js-list').length,
|
||||||
type: this.isListTemplatesSwimlane ? 'template-list' : 'list',
|
type: this.isListTemplatesSwimlane ? 'template-list' : 'list',
|
||||||
swimlaneId: this.currentBoard.isTemplatesBoard()
|
swimlaneId: this.currentBoard.isTemplatesBoard()
|
||||||
? this.currentSwimlane._id
|
? this.currentSwimlane._id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue