mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
Fix secrets UI (#2687)
This commit is contained in:
parent
fffddb0bc3
commit
902877690d
1
web/components.d.ts
vendored
1
web/components.d.ts
vendored
@ -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']
|
||||
|
@ -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();
|
||||
|
@ -6,5 +6,4 @@ export type Secret = {
|
||||
value: string;
|
||||
events: WebhookEvents[];
|
||||
images: string[];
|
||||
plugins_only: string;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user