Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
fix: resource list no run detial button
Browse files Browse the repository at this point in the history
  • Loading branch information
hibig committed Mar 14, 2024
1 parent 2f58caf commit bd110cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ declare module 'vue' {
AGrid: typeof import('@arco-design/web-vue')['Grid'];
AGridItem: typeof import('@arco-design/web-vue')['GridItem'];
AInput: typeof import('@arco-design/web-vue')['Input'];
AInputGroup: typeof import('@arco-design/web-vue')['InputGroup'];
AInputNumber: typeof import('@arco-design/web-vue')['InputNumber'];
AInputPassword: typeof import('@arco-design/web-vue')['InputPassword'];
AInputSearch: typeof import('@arco-design/web-vue')['InputSearch'];
Expand All @@ -47,8 +46,6 @@ declare module 'vue' {
ASpace: typeof import('@arco-design/web-vue')['Space'];
ASpin: typeof import('@arco-design/web-vue')['Spin'];
AStatistic: typeof import('@arco-design/web-vue')['Statistic'];
AStep: typeof import('@arco-design/web-vue')['Step'];
ASteps: typeof import('@arco-design/web-vue')['Steps'];
ASubMenu: typeof import('@arco-design/web-vue')['SubMenu'];
ASwitch: typeof import('@arco-design/web-vue')['Switch'];
ATable: typeof import('@arco-design/web-vue')['Table'];
Expand Down
4 changes: 1 addition & 3 deletions src/views/application-management/services/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,7 @@ export const serviceActions: MoreAction[] = [
status: 'normal',
disabled: false,
filterFun(currentInfo) {
return (
get(currentInfo, 'status.summaryStatus') !== ServiceStatus.Undeployed
);
return get(currentInfo, 'runs', []).length > 0;
}
},
{
Expand Down

0 comments on commit bd110cc

Please sign in to comment.