@lvce-editor/activity-bar-worker 2.1.0 → 2.2.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.
|
@@ -1783,11 +1783,12 @@ const loadContent = async (state, savedState) => {
|
|
|
1783
1783
|
const explorerIndex = 0;
|
|
1784
1784
|
const itemsWithSelected = markSelected(items, explorerIndex);
|
|
1785
1785
|
const filteredItems = getFilteredActivityBarItems(itemsWithSelected, height, itemHeight);
|
|
1786
|
+
const newItems = await updateItemsWithBadgeCount(filteredItems);
|
|
1786
1787
|
return {
|
|
1787
1788
|
...state,
|
|
1788
1789
|
activityBarItems: itemsWithSelected,
|
|
1789
1790
|
currentViewletId: Explorer,
|
|
1790
|
-
filteredItems,
|
|
1791
|
+
filteredItems: newItems,
|
|
1791
1792
|
selectedIndex: explorerIndex,
|
|
1792
1793
|
sideBarLocation: Left,
|
|
1793
1794
|
sideBarVisible: true
|