mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
FIX: remove duplicates in available titles
This commit is contained in:
parent
11c47f57f9
commit
d389d66f8d
@ -588,7 +588,7 @@ const User = RestModel.extend({
|
||||
}
|
||||
});
|
||||
|
||||
return titles;
|
||||
return _.uniq(titles).sort();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user