mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:17:08 +08: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