1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00

Fix secrets UI (#2687)

This commit is contained in:
6543 2023-11-01 08:36:59 +01:00 committed by GitHub
parent fffddb0bc3
commit 902877690d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

1
web/components.d.ts vendored
View File

@ -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']

View File

@ -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();

View File

@ -6,5 +6,4 @@ export type Secret = {
value: string;
events: WebhookEvents[];
images: string[];
plugins_only: string;
};