@lvce-editor/running-extensions-view 1.25.0 → 1.26.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.
|
@@ -2602,7 +2602,11 @@ const reportIssue = async (state, index) => {
|
|
|
2602
2602
|
extensions,
|
|
2603
2603
|
platform
|
|
2604
2604
|
} = state;
|
|
2605
|
-
const
|
|
2605
|
+
const extension = extensions[index];
|
|
2606
|
+
if (!extension || !extension.repository || typeof extension.repository !== 'string') {
|
|
2607
|
+
return state;
|
|
2608
|
+
}
|
|
2609
|
+
const issuesUrl = getIssuesUrl(extension.repository);
|
|
2606
2610
|
if (!issuesUrl) {
|
|
2607
2611
|
await invoke$5('ConfirmPrompt.prompt', reportingIssuesNotSupported(), undefined);
|
|
2608
2612
|
return state;
|