@lvce-editor/extension-detail-view 3.2.0 → 3.3.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.
|
@@ -1506,6 +1506,9 @@ const getTabsVirtualDom = tabs => {
|
|
|
1506
1506
|
};
|
|
1507
1507
|
|
|
1508
1508
|
const getExtensionDetailVirtualDom = (extensionDetail, sanitizedReadmeHtml, selectedTab) => {
|
|
1509
|
+
console.log({
|
|
1510
|
+
selectedTab
|
|
1511
|
+
});
|
|
1509
1512
|
const tabs = getTabs(selectedTab);
|
|
1510
1513
|
const dom = [{
|
|
1511
1514
|
type: Div$1,
|
|
@@ -1607,6 +1610,17 @@ const handleIconError = state => {
|
|
|
1607
1610
|
};
|
|
1608
1611
|
};
|
|
1609
1612
|
|
|
1613
|
+
const handleTabsClick = (state, name) => {
|
|
1614
|
+
// TODO load the tabs content if needed
|
|
1615
|
+
console.log({
|
|
1616
|
+
name
|
|
1617
|
+
});
|
|
1618
|
+
return {
|
|
1619
|
+
...state,
|
|
1620
|
+
selectedTab: name
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
|
|
1610
1624
|
const Web = 1;
|
|
1611
1625
|
const Electron = 2;
|
|
1612
1626
|
const Remote = 3;
|
|
@@ -4265,14 +4279,6 @@ const loadContent = async (state, platform) => {
|
|
|
4265
4279
|
};
|
|
4266
4280
|
};
|
|
4267
4281
|
|
|
4268
|
-
const handleTabsClick = (state, name) => {
|
|
4269
|
-
// TODO load the tabs content if needed
|
|
4270
|
-
return {
|
|
4271
|
-
...state,
|
|
4272
|
-
selectedTab: name
|
|
4273
|
-
};
|
|
4274
|
-
};
|
|
4275
|
-
|
|
4276
4282
|
const terminate = () => {
|
|
4277
4283
|
globalThis.close();
|
|
4278
4284
|
};
|