Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+3
-3
@@ -1,7 +1,7 @@
|
||||
import { JsonPropertyDto } from "~/modules/jsonProperties/dtos/JsonPropertyTypeDto";
|
||||
import { TFunction } from "i18next";
|
||||
import { JsonPropertiesValuesDto } from "~/modules/jsonProperties/dtos/JsonPropertiesValuesDto";
|
||||
import { Portal } from "@toolctrl/db/prisma-browser";
|
||||
import { Portal } from "@hivegrid/db/prisma-browser";
|
||||
|
||||
export type PortalConfiguration = {
|
||||
enabled: boolean;
|
||||
@@ -98,8 +98,8 @@ export function getAppPortalConfiguration({ t }: { t: TFunction }): PortalConfig
|
||||
properties: [titleProperty, descriptionProperty, ...seoProperties],
|
||||
errors: (params) => {
|
||||
let errors: string[] = [];
|
||||
if (!params.portal.stripeAccountId) {
|
||||
errors.push(t("models.portal.pages.errors.stripeAccountMissing"));
|
||||
if (!params.portal.paymentProviderAccountId) {
|
||||
errors.push(t("models.portal.pages.errors.paymentAccountMissing"));
|
||||
}
|
||||
return errors;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user