Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3f3d190

Browse files
committed
On clicking the workspace name from Editor or Workspace Datasources page, it takes the user to the workspace on the applications page.
1 parent1a30e1b commit3f3d190

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎app/client/src/pages/AppIDE/layouts/components/Header/index.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ const Header = () => {
162162
<IDEHeader.Center>
163163
{currentWorkspace.name&&(
164164
<>
165-
<LinkclassName="mr-1.5"to={APPLICATIONS_URL}>
165+
<Link
166+
className="mr-1.5"
167+
to={`${APPLICATIONS_URL}?workspaceId=${currentWorkspace.id}`}
168+
>
166169
{currentWorkspace.name}
167170
</Link>
168171
{"/"}

‎app/client/src/pages/workspace/WorkspaceDatasourceHeader.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ const WorkspaceDatasourceHeader = () => {
2626
</IDEHeader.Left>
2727
<IDEHeader.Center>
2828
{currentWorkspace?.name&&(
29-
<LinkclassName="mr-1.5"to={APPLICATIONS_URL}>
29+
<Link
30+
className="mr-1.5"
31+
to={`${APPLICATIONS_URL}?workspaceId=${currentWorkspace.id}`}
32+
>
3033
{currentWorkspace.name}
3134
</Link>
3235
)}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp