mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-22 00:16:29 +00:00
Fix secrets UI (#2687)
This commit is contained in:
parent
fffddb0bc3
commit
902877690d
3 changed files with 2 additions and 4 deletions
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 a new issue