Google sheets integration actions UI fixes (#456)
* GoogleSheetsIntegrationActions UI Fixes * GoogleSheetsIntegrationActions UI Fixes
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user