Skip to content

Commit

Permalink
[INLONG-8461][Dashboard] Cluster management tag optimization (apache#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bluewang committed Jul 7, 2023
1 parent 54a0383 commit dc319cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions inlong-dashboard/src/configs/menus/conf.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ const conf: MenuItemType[] = [
name: i18n.t('configs.menus.Clusters'),
icon: <DeploymentUnitOutlined />,
children: [
{
path: '/clusters',
name: i18n.t('configs.menus.Clusters'),
},
{
path: '/clusterTags',
name: i18n.t('configs.menus.ClusterTags'),
},
{
path: '/clusters',
name: i18n.t('configs.menus.Clusters'),
},
],
},
{
Expand Down
3 changes: 2 additions & 1 deletion inlong-dashboard/src/ui/components/Layout/Tenant/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ const Comp: React.FC = () => {

const { run: getStreamData } = useRequest(
{
url: '/tenant/listByUser',
url: '/tenant/list',
method: 'POST',
data: {
listByLoginUser: true,
...options,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ const Comp: React.FC<Props> = ({ id, ...modalProps }) => {
options: {
requestTrigger: ['onOpen', 'onSearch'],
requestService: keyword => ({
url: '/tenant/listByUser',
url: '/tenant/list',
method: 'POST',
data: {
keyword,
pageNum: 1,
pageSize: 10,
listByLoginUser: true,
},
}),
requestParams: {
Expand Down

0 comments on commit dc319cd

Please sign in to comment.