1
0
mirror of synced 2026-05-22 18:33:17 +00:00

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:
David Taylor
2021-10-27 11:41:52 +01:00
committed by GitHub
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 },
},