diff --git a/backend/windmill-api/src/workspaces.rs b/backend/windmill-api/src/workspaces.rs
index 1ed96d88a9..1cbf15a48a 100644
--- a/backend/windmill-api/src/workspaces.rs
+++ b/backend/windmill-api/src/workspaces.rs
@@ -233,8 +233,8 @@ async fn stripe_checkout(
params.line_items = match plan.plan.as_str() {
"team" => Some(vec![
stripe::CreateCheckoutSessionLineItems {
- quantity: None,
- price: Some("price_1MSdSyGU3NdFi9eLMdV6cS6F".to_string()),
+ quantity: Some(1),
+ price: Some("price_1MT2nyGU3NdFi9eLxBweLWAz".to_string()),
..Default::default()
},
stripe::CreateCheckoutSessionLineItems {
@@ -242,6 +242,16 @@ async fn stripe_checkout(
price: Some("price_1MShsNGU3NdFi9eLJMEZUW8b".to_string()),
..Default::default()
},
+ stripe::CreateCheckoutSessionLineItems {
+ quantity: None,
+ price: Some("price_1MT2ouGU3NdFi9eLfn1VPKiX".to_string()),
+ ..Default::default()
+ },
+ stripe::CreateCheckoutSessionLineItems {
+ quantity: None,
+ price: Some("price_1MT2pMGU3NdFi9eLUFhcTKjH".to_string()),
+ ..Default::default()
+ },
]),
"enterprise" => Some(vec![
stripe::CreateCheckoutSessionLineItems {
diff --git a/frontend/src/lib/components/flows/flowStore.ts b/frontend/src/lib/components/flows/flowStore.ts
index 521e172c3a..5bd7e26f90 100644
--- a/frontend/src/lib/components/flows/flowStore.ts
+++ b/frontend/src/lib/components/flows/flowStore.ts
@@ -53,7 +53,6 @@ export async function initFlow(flow: Flow) {
}
await initFlowState(flow)
-
flowStore.set(flow)
function migrateFlowModule(mod: FlowModule) {
diff --git a/frontend/src/lib/utils.ts b/frontend/src/lib/utils.ts
index 42bdf47a9a..828609146f 100644
--- a/frontend/src/lib/utils.ts
+++ b/frontend/src/lib/utils.ts
@@ -655,7 +655,7 @@ export function addWhitespaceBeforeCapitals(word?: string): string {
}
export function isCloudHosted(): boolean {
- return (get(page)?.url?.hostname == 'app.windmill.dev')
+ return (get(page)?.url?.hostname == 'app.windmill.dev') || true
}
export function isObject(obj: any) {
diff --git a/frontend/src/routes/(root)/(logged)/flows/edit/[...path]/+page.svelte b/frontend/src/routes/(root)/(logged)/flows/edit/[...path]/+page.svelte
index d466d76fe4..5f7f242032 100644
--- a/frontend/src/routes/(root)/(logged)/flows/edit/[...path]/+page.svelte
+++ b/frontend/src/routes/(root)/(logged)/flows/edit/[...path]/+page.svelte
@@ -22,21 +22,8 @@
let selectedId: string = 'settings-graph'
- let flow: Flow = {
- path: $page.params.path,
- summary: '',
- edited_by: '',
- edited_at: '',
- value: { modules: [] },
- archived: false,
- extra_perms: {},
- schema: emptySchema()
- }
-
let initialPath: string = ''
- initFlow(flow)
-
async function loadFlow(): Promise
Waiting for your upgrade to be processed...
++ Waiting for your upgrade to be processed... +
{/if}