Create unique board names when importing

This commit is contained in:
John R. Supplee 2021-01-28 18:21:56 +02:00
parent 5adaaa7f22
commit ad6da9bf37
4 changed files with 22 additions and 17 deletions

View file

@ -253,7 +253,7 @@ export class WekanCreator {
permission: boardToImport.permission,
slug: getSlug(boardToImport.title) || 'board',
stars: 0,
title: boardToImport.title,
title: Boards.uniqueTitle(boardToImport.title),
};
// now add other members
if (boardToImport.members) {