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