groove-dev 0.26.35 → 0.26.37
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.
- package/node_modules/@groove-dev/gui/dist/assets/{index-86xvrzfI.js → index-VrNtEof4.js} +1 -1
- package/node_modules/@groove-dev/gui/dist/index.html +1 -1
- package/node_modules/@groove-dev/gui/src/components/marketplace/integration-wizard.jsx +5 -2
- package/package.json +1 -1
- package/packages/gui/dist/assets/{index-86xvrzfI.js → index-VrNtEof4.js} +1 -1
- package/packages/gui/dist/index.html +1 -1
- package/packages/gui/src/components/marketplace/integration-wizard.jsx +5 -2
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
7
7
|
<title>Groove GUI</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-VrNtEof4.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/vendor-C0HXlhrU.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="/assets/reactflow-BQPfi37R.js">
|
|
11
11
|
<link rel="modulepreload" crossorigin href="/assets/codemirror-BBL3i_JW.js">
|
|
@@ -424,15 +424,18 @@ export function IntegrationWizard({ integration, open, onClose }) {
|
|
|
424
424
|
const [installing, setInstalling] = useState(false);
|
|
425
425
|
const [loadingStatus, setLoadingStatus] = useState(true);
|
|
426
426
|
|
|
427
|
+
const integrationId = integration?.id;
|
|
428
|
+
|
|
427
429
|
const fetchStatus = useCallback(async () => {
|
|
430
|
+
if (!integrationId) return;
|
|
428
431
|
try {
|
|
429
|
-
const data = await api.get(`/integrations/${
|
|
432
|
+
const data = await api.get(`/integrations/${integrationId}/status`);
|
|
430
433
|
setStatus(data);
|
|
431
434
|
} catch {
|
|
432
435
|
setStatus(null);
|
|
433
436
|
}
|
|
434
437
|
setLoadingStatus(false);
|
|
435
|
-
}, [
|
|
438
|
+
}, [integrationId]);
|
|
436
439
|
|
|
437
440
|
useEffect(() => {
|
|
438
441
|
if (open && integration) {
|