mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 01:41:02 +00:00
Add back button to repo pipeline list (#4393)
This commit is contained in:
parent
76932698bf
commit
4ff8b3f86f
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
v-model:active-tab="activeTab"
|
||||
enable-tabs
|
||||
disable-tab-url-hash-mode
|
||||
:go-back="goBack"
|
||||
>
|
||||
<template #title>
|
||||
<span class="flex">
|
||||
|
@ -67,6 +68,7 @@ import useAuthentication from '~/compositions/useAuthentication';
|
|||
import useConfig from '~/compositions/useConfig';
|
||||
import { useForgeStore } from '~/compositions/useForgeStore';
|
||||
import useNotifications from '~/compositions/useNotifications';
|
||||
import { useRouteBack } from '~/compositions/useRouteBack';
|
||||
import type { Forge, RepoPermissions } from '~/lib/api/types';
|
||||
import { usePipelineStore } from '~/store/pipelines';
|
||||
import { useRepoStore } from '~/store/repos';
|
||||
|
@ -153,4 +155,6 @@ const activeTab = computed({
|
|||
}
|
||||
},
|
||||
});
|
||||
|
||||
const goBack = useRouteBack({ name: 'repos' });
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue