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
b3936f7a
Unverified
Commit
b3936f7a
authored
Jun 05, 2023
by
zhu-mingye
Committed by
GitHub
Jun 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Refactor][web] Re-request interface when switching tenants (#2018)
parent
9686bea2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
index.tsx
dinky-web/src/components/RightContent/index.tsx
+2
-2
index.tsx
...Center/Cluster/Instance/components/InstanceList/index.tsx
+2
-2
No files found.
dinky-web/src/components/RightContent/index.tsx
View file @
b3936f7a
...
...
@@ -48,7 +48,6 @@ const GlobalHeaderRight: React.FC = () => {
/**
* status
*/
const
actionRef
=
useRef
<
ActionType
>
();
const
[
fullScreen
,
setFullScreen
]
=
useState
(
true
);
const
[
themeChecked
,
setThemeChecked
]
=
useState
(
false
);
const
{
initialState
,
setInitialState
}
=
useModel
(
"@@initialState"
);
...
...
@@ -150,7 +149,8 @@ const GlobalHeaderRight: React.FC = () => {
}
else
{
ErrorNotification
(
result
.
msg
);
}
actionRef
.
current
?.
reload
();
// trigger global refresh, such as reload page
window
.
location
.
reload
();
},
});
};
...
...
dinky-web/src/pages/RegCenter/Cluster/Instance/components/InstanceList/index.tsx
View file @
b3936f7a
...
...
@@ -159,7 +159,7 @@ export default () => {
title
:
l
(
'rc.ci.ar'
),
dataIndex
:
'autoRegisters'
,
hideInSearch
:
true
,
width
:
'
5
%'
,
width
:
'
8
%'
,
valueEnum
:
CLUSTER_INSTANCE_AUTO_REGISTERS_ENUM
,
},
{
...
...
@@ -172,7 +172,7 @@ export default () => {
title
:
l
(
'rc.ci.status'
),
dataIndex
:
'status'
,
hideInSearch
:
true
,
width
:
'
6
%'
,
width
:
'
8
%'
,
valueEnum
:
CLUSTER_INSTANCE_STATUS_ENUM
,
},
{
...
...
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