Revert "Add back button to repo pipeline list" (#4398)

This commit is contained in:
qwerty287 2024-11-17 11:46:55 +02:00 committed by GitHub
parent b2170bc374
commit d2509d3ad1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,6 @@
v-model:active-tab="activeTab" v-model:active-tab="activeTab"
enable-tabs enable-tabs
disable-tab-url-hash-mode disable-tab-url-hash-mode
:go-back="goBack"
> >
<template #title> <template #title>
<span class="flex"> <span class="flex">
@ -68,7 +67,6 @@ import useAuthentication from '~/compositions/useAuthentication';
import useConfig from '~/compositions/useConfig'; import useConfig from '~/compositions/useConfig';
import { useForgeStore } from '~/compositions/useForgeStore'; import { useForgeStore } from '~/compositions/useForgeStore';
import useNotifications from '~/compositions/useNotifications'; import useNotifications from '~/compositions/useNotifications';
import { useRouteBack } from '~/compositions/useRouteBack';
import type { Forge, RepoPermissions } from '~/lib/api/types'; import type { Forge, RepoPermissions } from '~/lib/api/types';
import { usePipelineStore } from '~/store/pipelines'; import { usePipelineStore } from '~/store/pipelines';
import { useRepoStore } from '~/store/repos'; import { useRepoStore } from '~/store/repos';
@ -155,6 +153,4 @@ const activeTab = computed({
} }
}, },
}); });
const goBack = useRouteBack({ name: 'repos' });
</script> </script>