@lvce-editor/activity-bar-worker 1.29.0 → 1.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1347,7 +1347,7 @@ const getMenuEntriesSettings = () => {
1347
1347
  }];
1348
1348
  };
1349
1349
 
1350
- const getMenuEntries = id => {
1350
+ const getMenuEntries = (id, options) => {
1351
1351
  const tuple = get(id);
1352
1352
  if (!tuple) {
1353
1353
  return [];
@@ -1355,7 +1355,10 @@ const getMenuEntries = id => {
1355
1355
  const {
1356
1356
  newState
1357
1357
  } = tuple;
1358
- switch (id) {
1358
+ const {
1359
+ menuId
1360
+ } = options;
1361
+ switch (menuId) {
1359
1362
  case ActivityBar$3:
1360
1363
  return getMenuEntriesActivityBar(newState);
1361
1364
  case ActivityBarAdditionalViews:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/activity-bar-worker",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "description": "Explorer Worker",
5
5
  "repository": {
6
6
  "type": "git",