Skip to content

Commit

Permalink
Fix secrets UI (#2687)
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 authored Nov 1, 2023
1 parent fffddb0 commit 9028776
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion web/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ declare module 'vue' {
CronTab: typeof import('./src/components/repo/settings/CronTab.vue')['default']
DeployPipelinePopup: typeof import('./src/components/layout/popups/DeployPipelinePopup.vue')['default']
DocsLink: typeof import('./src/components/atomic/DocsLink.vue')['default']
FluidContainer: typeof import('./src/components/layout/FluidContainer.vue')['default']
GeneralTab: typeof import('./src/components/repo/settings/GeneralTab.vue')['default']
Header: typeof import('./src/components/layout/scaffold/Header.vue')['default']
IBiCheckCircleFill: typeof import('~icons/bi/check-circle-fill')['default']
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/repo/settings/SecretsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ import { Repo, Secret, WebhookEvents } from '~/lib/api/types';
const emptySecret = {
name: '',
value: '',
image: [],
event: [WebhookEvents.Push],
images: [],
events: [WebhookEvents.Push],
};
const apiClient = useApiClient();
Expand Down
1 change: 0 additions & 1 deletion web/src/lib/api/types/secret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ export type Secret = {
value: string;
events: WebhookEvents[];
images: string[];
plugins_only: string;
};

0 comments on commit 9028776

Please sign in to comment.