Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import { SetupItem } from "~/application/dtos/setup/SetupItem";
|
||||
import { getAllSubscriptionProducts } from "../db/subscriptionProducts.db.server";
|
||||
import { adminPath } from "~/utils/app/CanonicalUrlUtils";
|
||||
import { t as i18nT } from "i18next";
|
||||
|
||||
export async function getSetupSteps(): Promise<SetupItem[]> {
|
||||
return [await getPricingStep()];
|
||||
}
|
||||
|
||||
async function getPricingStep(): Promise<SetupItem> {
|
||||
let items = await getAllSubscriptionProducts();
|
||||
return Promise.resolve({
|
||||
title: i18nT("setup.pricing.title"),
|
||||
description: i18nT("setup.pricing.description"),
|
||||
completed: items.length > 0,
|
||||
path: adminPath("settings/pricing", { mode: "host-aware" }),
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user