DEV: Add pluginId to modifyClass to satisfy console warning
This commit is contained in:
parent
1522f3cd2d
commit
f26c9fa005
|
@ -9,6 +9,7 @@ export default {
|
||||||
initialize(container) {
|
initialize(container) {
|
||||||
withPluginApi("0.8.7", (api) => {
|
withPluginApi("0.8.7", (api) => {
|
||||||
api.modifyClass("route:users", {
|
api.modifyClass("route:users", {
|
||||||
|
pluginId: 'user-card-directory',
|
||||||
resetController(controller, isExiting) {
|
resetController(controller, isExiting) {
|
||||||
this._super(...arguments);
|
this._super(...arguments);
|
||||||
if (isExiting) {
|
if (isExiting) {
|
||||||
|
@ -18,6 +19,7 @@ export default {
|
||||||
});
|
});
|
||||||
|
|
||||||
api.modifyClass("route:users", {
|
api.modifyClass("route:users", {
|
||||||
|
pluginId: 'user-card-directory',
|
||||||
queryParams: {
|
queryParams: {
|
||||||
cards: { refreshModel: true },
|
cards: { refreshModel: true },
|
||||||
},
|
},
|
||||||
|
@ -48,6 +50,7 @@ export default {
|
||||||
});
|
});
|
||||||
|
|
||||||
api.modifyClass("controller:users", {
|
api.modifyClass("controller:users", {
|
||||||
|
pluginId: 'user-card-directory',
|
||||||
cachedUserCardInfo: null,
|
cachedUserCardInfo: null,
|
||||||
|
|
||||||
init(){
|
init(){
|
||||||
|
|
Loading…
Reference in New Issue