mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
FIX: 'none' tag page would not load
This commit is contained in:
parent
94b115f7d9
commit
98211f945f
@ -102,7 +102,9 @@ export default Discourse.Route.extend({
|
|||||||
params,
|
params,
|
||||||
{}
|
{}
|
||||||
).then(list => {
|
).then(list => {
|
||||||
tag.set("id", list.topic_list.tags[0].name); // Update name of tag (case might be different)
|
if (list.topic_list.tags) {
|
||||||
|
tag.set("id", list.topic_list.tags[0].name); // Update name of tag (case might be different)
|
||||||
|
}
|
||||||
controller.setProperties({
|
controller.setProperties({
|
||||||
list: list,
|
list: list,
|
||||||
canCreateTopic: list.get("can_create_topic"),
|
canCreateTopic: list.get("can_create_topic"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user