Google sheets integration actions UI fixes (#456)
* GoogleSheetsIntegrationActions UI Fixes * GoogleSheetsIntegrationActions UI Fixes
This commit is contained in:
parent
d89e54f4ac
commit
3b5b8f4e3b
|
|
@ -54,7 +54,7 @@ const formIntegrationsStore = useFormIntegrationsStore()
|
||||||
let interval = null
|
let interval = null
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (!props.integration.data) {
|
if (!props.integration.data || props.integration.data.length === 0) {
|
||||||
interval = setInterval(() => formIntegrationsStore.fetchFormIntegrations(props.form.id), 3000)
|
interval = setInterval(() => formIntegrationsStore.fetchFormIntegrations(props.form.id), 3000)
|
||||||
setTimeout(() => { clearInterval(interval) }, 30000)
|
setTimeout(() => { clearInterval(interval) }, 30000)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue