1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Merge branch 'master' into app-validation-imports

This commit is contained in:
Martin McKeaveney 2023-07-31 11:40:56 +01:00 committed by GitHub
commit fafae64f4d
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{
"version": "2.8.28",
"version": "2.8.29",
"npmClient": "yarn",
"packages": [
"packages/*"

View file

@ -2,14 +2,15 @@
import { Button, Layout } from "@budibase/bbui"
import DatasourceNavigator from "components/backend/DatasourceNavigator/DatasourceNavigator.svelte"
import Panel from "components/design/Panel.svelte"
import { isActive, goto, redirect } from "@roxi/routify"
import { isActive, redirect, goto, params } from "@roxi/routify"
import BetaButton from "./_components/BetaButton.svelte"
import { datasources } from "stores/backend"
$: {
// If we ever don't have any data other than the users table, prompt the
// user to add some
if (!$datasources.hasData) {
// Don't redirect if setting up google sheets, or we lose the query parameter
if (!$datasources.hasData && !$params["?continue_google_setup"]) {
$redirect("./new")
}
}