Skip to content

Commit

Permalink
#550 Changed label format in project autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
Possommi committed Sep 10, 2024
1 parent f9fc42a commit 70d1457
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const HisinOneProjects = {

let item = {};
item.id = project.id;
item.label = project.shorttext + ": " + (label.length > HisinOneProjects.maxLength ? label.substring(0, HisinOneProjects.maxLength).trim() + "…" : label) + " [" + project.id + "]";
item.label = (label.length > HisinOneProjects.maxLength ? label.substring(0, HisinOneProjects.maxLength).trim() + "…" : label) + " [" + project.shorttext + "]";
item.defaultText = project.defaulttext;
item.shortText = project.shorttext;
projects.push(item);
Expand Down

0 comments on commit 70d1457

Please sign in to comment.