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

fix: resource list no run detial button #760

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading