mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
PERF: reduces cpu/memory consumption of sk in some cases (#7525)
This commit is contained in:
@ -44,7 +44,7 @@ export default SelectKitComponent.extend({
|
||||
}
|
||||
},
|
||||
|
||||
@on("didReceiveAttrs")
|
||||
@on("didUpdateAttrs", "init")
|
||||
_compute() {
|
||||
run.scheduleOnce("afterRender", () => {
|
||||
this.willComputeAttributes();
|
||||
|
Reference in New Issue
Block a user