mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-03 06:08:42 +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']
|
CronTab: typeof import('./src/components/repo/settings/CronTab.vue')['default']
|
||||||
DeployPipelinePopup: typeof import('./src/components/layout/popups/DeployPipelinePopup.vue')['default']
|
DeployPipelinePopup: typeof import('./src/components/layout/popups/DeployPipelinePopup.vue')['default']
|
||||||
DocsLink: typeof import('./src/components/atomic/DocsLink.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']
|
GeneralTab: typeof import('./src/components/repo/settings/GeneralTab.vue')['default']
|
||||||
Header: typeof import('./src/components/layout/scaffold/Header.vue')['default']
|
Header: typeof import('./src/components/layout/scaffold/Header.vue')['default']
|
||||||
IBiCheckCircleFill: typeof import('~icons/bi/check-circle-fill')['default']
|
IBiCheckCircleFill: typeof import('~icons/bi/check-circle-fill')['default']
|
||||||
|
|
|
@ -52,8 +52,8 @@ import { Repo, Secret, WebhookEvents } from '~/lib/api/types';
|
||||||
const emptySecret = {
|
const emptySecret = {
|
||||||
name: '',
|
name: '',
|
||||||
value: '',
|
value: '',
|
||||||
image: [],
|
images: [],
|
||||||
event: [WebhookEvents.Push],
|
events: [WebhookEvents.Push],
|
||||||
};
|
};
|
||||||
|
|
||||||
const apiClient = useApiClient();
|
const apiClient = useApiClient();
|
||||||
|
|
|
@ -6,5 +6,4 @@ export type Secret = {
|
||||||
value: string;
|
value: string;
|
||||||
events: WebhookEvents[];
|
events: WebhookEvents[];
|
||||||
images: string[];
|
images: string[];
|
||||||
plugins_only: string;
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue