Don't mask top-level params
This commit is contained in:
parent
2d5541f533
commit
f967bc4ac0
@ -252,11 +252,11 @@ export default class Store {
|
|||||||
return callback(null, this.createToken(from));
|
return callback(null, this.createToken(from));
|
||||||
|
|
||||||
case 'shell_setAppVisibility':
|
case 'shell_setAppVisibility':
|
||||||
const [appId, visibility] = params;
|
const [changeId, visibility] = params;
|
||||||
|
|
||||||
return callback(null, visibility
|
return callback(null, visibility
|
||||||
? visibleStore.showApp(appId)
|
? visibleStore.showApp(changeId)
|
||||||
: visibleStore.hideApp(appId)
|
: visibleStore.hideApp(changeId)
|
||||||
);
|
);
|
||||||
|
|
||||||
case 'shell_setMethodPermissions':
|
case 'shell_setMethodPermissions':
|
||||||
|
Loading…
Reference in New Issue
Block a user