mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 21:00:11 +08:00
FIX: reset the delete automatic group tooltip (#31094)
Prior to this change the tooltip would forever stay even after changing a group until you hard refresh the page. No test as it's a very niche behavior and we have a todo to have multiple other improvements at this codepath.
This commit is contained in:
parent
a6b136977c
commit
853564f859
@ -12,4 +12,10 @@ export default class Group extends DiscourseRoute {
|
|||||||
serialize(model) {
|
serialize(model) {
|
||||||
return { name: model.get("name").toLowerCase() };
|
return { name: model.get("name").toLowerCase() };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setupController(controller) {
|
||||||
|
super.setupController(...arguments);
|
||||||
|
|
||||||
|
controller.set("showTooltip", false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user