mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Merge pull request #4401 from Ben0it-T/fix-Boards.uniqueTitle
fix Boards.uniqueTitle not working as expected #4400
This commit is contained in:
commit
f8b60de988
1 changed files with 5 additions and 5 deletions
|
@ -1478,11 +1478,11 @@ Boards.uniqueTitle = title => {
|
|||
},
|
||||
);
|
||||
|
||||
if (num > 0) {
|
||||
return `${base} [${num + 1}]`;
|
||||
}
|
||||
|
||||
return title;
|
||||
return `${m.groups.title} [${num + 1}]`;
|
||||
//if (num > 0) {
|
||||
// return `${base} [${num + 1}]`;
|
||||
//}
|
||||
//return title;
|
||||
};
|
||||
|
||||
Boards.userSearch = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue