mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 06:01:43 +08:00
FIX: improves locale support in tag-drop (#7418)
This commit is contained in:
@ -24,13 +24,13 @@ componentTest("default", {
|
||||
if (params.queryParams.q === "rég") {
|
||||
return response({
|
||||
"results": [
|
||||
{ "id": "régis", "name": "régis", "count": 2, "pm_count": 0 }
|
||||
{ "id": "régis", "text": "régis", "count": 2, "pm_count": 0 }
|
||||
]
|
||||
});
|
||||
}else if (params.queryParams.q === "dav") {
|
||||
return response({
|
||||
"results": [
|
||||
{ "id": "David", "name": "David", "count": 2, "pm_count": 0 }
|
||||
{ "id": "David", "text": "David", "count": 2, "pm_count": 0 }
|
||||
]
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user