Skip to content

Commit b4de9e8

Browse files
author
FalkWolsky
committed
Environments Preview Page update
1 parent 5808ca9 commit b4de9e8

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

client/packages/lowcoder/src/pages/setting/environments/components/UnlicensedEnvironmentView.tsx

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,22 @@ const UnlicensedEnvironmentView: React.FC<UnlicensedEnvironmentViewProps> = ({
9292

9393
return (
9494
<Level1SettingPageContent style={{ minWidth: "1000px" }}>
95+
96+
{/* Breadcrumbs */}
97+
<ModernBreadcrumbs
98+
items={[
99+
{
100+
key: 'environments',
101+
title: 'Environments',
102+
onClick: () => history.push('/setting/environments')
103+
},
104+
{
105+
key: 'current',
106+
title: environment.environmentName || "Environment Detail"
107+
}
108+
]}
109+
/>
110+
95111
{/* Environment Header Component */}
96112
<EnvironmentHeader
97113
environment={environment}
@@ -112,20 +128,6 @@ const UnlicensedEnvironmentView: React.FC<UnlicensedEnvironmentViewProps> = ({
112128
))}
113129
</Row>
114130

115-
{/* Breadcrumbs */}
116-
<ModernBreadcrumbs
117-
items={[
118-
{
119-
key: 'environments',
120-
title: 'Environments',
121-
onClick: () => history.push('/setting/environments')
122-
},
123-
{
124-
key: 'current',
125-
title: environment.environmentName || "Environment Detail"
126-
}
127-
]}
128-
/>
129131

130132
{/* License Issue Card */}
131133
<Card
@@ -169,7 +171,6 @@ const UnlicensedEnvironmentView: React.FC<UnlicensedEnvironmentViewProps> = ({
169171
<Button
170172
type="primary"
171173
size="large"
172-
icon={<CustomerServiceOutlined />}
173174
onClick={() => setIsContactModalVisible(true)}
174175
style={{
175176
width: '100%',

client/packages/lowcoder/src/pages/setting/environments/services/environments.service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ import {App} from "../types/app.types";
77
import { DataSourceWithMeta } from '../types/datasource.types';
88
import { Query, QueryResponse } from "../types/query.types";
99
import { checkEnvironmentLicense } from './license.service';
10-
11-
12-
10+
import { trans } from "i18n";
1311

1412
export async function updateEnvironment(
1513
environmentId: string,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy