Clean
This commit is contained in:
parent
bfaab228d5
commit
9ebe93f71d
|
@ -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} />
|
||||
|
|
Loading…
Reference in New Issue