DEV: Merge route:users modifyClass into one (#5)
Running modifyClass twice with the same pluginId means the second modification won't be applied. We can simply combine these two calls into one.
This commit is contained in:
parent
f26c9fa005
commit
1f5aebb180
|
@ -16,10 +16,7 @@ export default {
|
|||
controller.set("cachedUserCardInfo", {});
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
api.modifyClass("route:users", {
|
||||
pluginId: 'user-card-directory',
|
||||
queryParams: {
|
||||
cards: { refreshModel: true },
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue