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