mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-01 05:27:35 +00:00
fix nits
This commit is contained in:
@@ -20,7 +20,6 @@ import type { Agent } from '~/lib/api/types';
|
|||||||
|
|
||||||
const apiClient = useApiClient();
|
const apiClient = useApiClient();
|
||||||
const org = requiredInject('org');
|
const org = requiredInject('org');
|
||||||
const org = requiredInject('org');
|
|
||||||
|
|
||||||
const loadAgents = (page: number) => apiClient.getOrgAgents(org.value.id, { page });
|
const loadAgents = (page: number) => apiClient.getOrgAgents(org.value.id, { page });
|
||||||
const createAgent = (agent: Partial<Agent>) => apiClient.createOrgAgent(org.value.id, agent);
|
const createAgent = (agent: Partial<Agent>) => apiClient.createOrgAgent(org.value.id, agent);
|
||||||
|
@@ -9,6 +9,7 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { computed } from 'vue';
|
import { computed } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
import Panel from '~/components/layout/Panel.vue';
|
import Panel from '~/components/layout/Panel.vue';
|
||||||
import { requiredInject } from '~/compositions/useInjectProvide';
|
import { requiredInject } from '~/compositions/useInjectProvide';
|
||||||
import { useWPTitle } from '~/compositions/useWPTitle';
|
import { useWPTitle } from '~/compositions/useWPTitle';
|
||||||
|
Reference in New Issue
Block a user