DEV: Add pluginId to modifyClass to satisfy console warning

This commit is contained in:
David Taylor 2021-10-27 11:26:59 +01:00
parent 1522f3cd2d
commit f26c9fa005
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ export default {
initialize(container) {
withPluginApi("0.8.7", (api) => {
api.modifyClass("route:users", {
pluginId: 'user-card-directory',
resetController(controller, isExiting) {
this._super(...arguments);
if (isExiting) {
@ -18,6 +19,7 @@ export default {
});
api.modifyClass("route:users", {
pluginId: 'user-card-directory',
queryParams: {
cards: { refreshModel: true },
},
@ -48,6 +50,7 @@ export default {
});
api.modifyClass("controller:users", {
pluginId: 'user-card-directory',
cachedUserCardInfo: null,
init(){