mirror of
https://github.com/wekan/wekan.git
synced 2026-02-13 11:44:20 +01:00
Fixed Error in migrate-lists-to-per-swimlane migration.
Thanks to xet7 ! Fixes #5918
This commit is contained in:
parent
9bd21e1d1b
commit
cc99da5357
9 changed files with 157 additions and 135 deletions
|
|
@ -2138,7 +2138,7 @@ if (Meteor.isServer) {
|
|||
const future3 = new Future();
|
||||
Boards.insert(
|
||||
{
|
||||
title: TAPi18n.__('templates'),
|
||||
title: TAPi18n && TAPi18n.i18n ? TAPi18n.__('templates') : 'Templates',
|
||||
permission: 'private',
|
||||
type: 'template-container',
|
||||
},
|
||||
|
|
@ -2154,7 +2154,7 @@ if (Meteor.isServer) {
|
|||
// Insert the card templates swimlane
|
||||
Swimlanes.insert(
|
||||
{
|
||||
title: TAPi18n.__('card-templates-swimlane'),
|
||||
title: TAPi18n && TAPi18n.i18n ? TAPi18n.__('card-templates-swimlane') : 'Card Templates',
|
||||
boardId,
|
||||
sort: 1,
|
||||
type: 'template-container',
|
||||
|
|
@ -2174,7 +2174,7 @@ if (Meteor.isServer) {
|
|||
// Insert the list templates swimlane
|
||||
Swimlanes.insert(
|
||||
{
|
||||
title: TAPi18n.__('list-templates-swimlane'),
|
||||
title: TAPi18n && TAPi18n.i18n ? TAPi18n.__('list-templates-swimlane') : 'List Templates',
|
||||
boardId,
|
||||
sort: 2,
|
||||
type: 'template-container',
|
||||
|
|
@ -2194,7 +2194,7 @@ if (Meteor.isServer) {
|
|||
// Insert the board templates swimlane
|
||||
Swimlanes.insert(
|
||||
{
|
||||
title: TAPi18n.__('board-templates-swimlane'),
|
||||
title: TAPi18n && TAPi18n.i18n ? TAPi18n.__('board-templates-swimlane') : 'Board Templates',
|
||||
boardId,
|
||||
sort: 3,
|
||||
type: 'template-container',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue