This commit is contained in:
Adria Navarro 2024-01-08 12:10:35 +01:00
parent bfaab228d5
commit 9ebe93f71d
1 changed files with 1 additions and 7 deletions

View File

@ -1,15 +1,9 @@
<script>
import { Updating } from "@budibase/frontend-core"
import { API } from "../api"
async function isMigrationDone() {
const response = await API.getMigrationStatus()
return response.migrated
}
async function onMigrationDone() {
window.location.reload()
}
</script>
<Updating {isMigrationDone} {onMigrationDone} />
<Updating {onMigrationDone} />