Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
824a3e80
Unverified
Commit
824a3e80
authored
Dec 16, 2023
by
ZackYoung
Committed by
GitHub
Dec 16, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix_breadcrumb (#2659)
parent
c3c7076e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.tsx
...-web/src/pages/DataStudio/LeftContainer/Project/index.tsx
+1
-2
model.ts
dinky-web/src/pages/DataStudio/model.ts
+2
-1
No files found.
dinky-web/src/pages/DataStudio/LeftContainer/Project/index.tsx
View file @
824a3e80
...
@@ -150,14 +150,13 @@ const Project: React.FC = (props: connect) => {
...
@@ -150,14 +150,13 @@ const Project: React.FC = (props: connect) => {
}
}
}
}
path
.
pop
();
dispatch
({
dispatch
({
type
:
STUDIO_MODEL
.
addTab
,
type
:
STUDIO_MODEL
.
addTab
,
payload
:
{
payload
:
{
icon
:
type
,
icon
:
type
,
id
:
parentId
+
name
,
id
:
parentId
+
name
,
treeKey
:
key
,
treeKey
:
key
,
breadcrumbLabel
:
path
.
join
(
'/'
),
breadcrumbLabel
:
path
.
slice
(
0
,
path
.
length
-
1
).
join
(
'/'
),
label
:
name
,
label
:
name
,
params
:
{
params
:
{
taskId
:
taskId
taskId
:
taskId
...
...
dinky-web/src/pages/DataStudio/model.ts
View file @
824a3e80
...
@@ -723,7 +723,8 @@ const Model: ModelType = {
...
@@ -723,7 +723,8 @@ const Model: ModelType = {
...
state
,
...
state
,
tabs
:
{
tabs
:
{
...
state
.
tabs
,
...
state
.
tabs
,
activeKey
:
item
.
key
activeKey
:
item
.
key
,
activeBreadcrumbTitle
:
[
item
.
type
,
item
.
breadcrumbLabel
,
item
.
label
].
join
(
'/'
),
},
},
footContainer
:
{
footContainer
:
{
...
state
.
footContainer
,
...
state
.
footContainer
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment