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 Nov 4, 2024
1 parent 96ad66f commit 88cf19b
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 88cf19b

Please sign in to comment.