File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
client/packages/lowcoder/src/pages/ApplicationV2 Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
1010 TRASH_URL ,
1111 NEWS_URL ,
1212 ORG_HOME_URL ,
13+ SUBSCRIPTION_SETTING ,
1314} from "constants/routesURL" ;
1415import { getUser , isFetchingUser } from "redux/selectors/usersSelectors" ;
1516import { useDispatch , useSelector } from "react-redux" ;
@@ -57,6 +58,7 @@ import { trans } from "../../i18n";
5758import { foldersSelector } from "../../redux/selectors/folderSelector" ;
5859import Setting from "pages/setting" ;
5960import { Support } from "pages/support" ;
61+ import { Subscription } from "pages/setting/subscriptions"
6062// import { TypographyText } from "../../components/TypographyText";
6163// import { messageInstance } from "lowcoder-design/src/components/GlobalInstances";
6264import { isEE } from "util/envUtils" ;
@@ -248,6 +250,19 @@ export default function ApplicationHome() {
248250 ] ,
249251 } : { items : [ ] } ,
250252
253+ ! supportSubscription && user . orgDev ? {
254+ items : [
255+ {
256+ text : < TabLabel > { trans ( "home.support" ) } </ TabLabel > ,
257+ routePath : SUBSCRIPTION_SETTING ,
258+ routeComp : Subscription ,
259+ routePathExact : false ,
260+ icon : ( { selected, ...otherProps } ) => selected ? < SupportIcon { ...otherProps } width = { "24px" } /> : < SupportIcon { ...otherProps } width = { "24px" } /> ,
261+ mobileVisible : true ,
262+ } ,
263+ ] ,
264+ } : { items : [ ] } ,
265+
251266 supportSubscription && user . orgDev ? {
252267 items : [
253268 {
You can’t perform that action at this time.
0 commit comments