Fix workflow detail (#3382)
* fix: loop node init * fix: workflow detail * fix: point table * add null check
This commit is contained in:
@@ -1,14 +1,6 @@
|
||||
import { getDocPath } from '@/web/common/system/doc';
|
||||
import { useSystemStore } from '@/web/common/system/useSystemStore';
|
||||
|
||||
export const AI_POINT_USAGE_CARD_ROUTE = '/price#point-card';
|
||||
export const getAiPointUsageCardRoute = () => {
|
||||
const subPlans = useSystemStore.getState().subPlans;
|
||||
return subPlans?.planDescriptionUrl
|
||||
? getDocPath(subPlans.planDescriptionUrl)
|
||||
: AI_POINT_USAGE_CARD_ROUTE;
|
||||
};
|
||||
|
||||
export const EXTRA_PLAN_CARD_ROUTE = '/price#extra-plan';
|
||||
export const getExtraPlanCardRoute = () => {
|
||||
const subPlans = useSystemStore.getState().subPlans;
|
||||
|
||||
Reference in New Issue
Block a user