mirror of
https://github.com/harness/drone.git
synced 2025-05-09 03:09:09 +08:00
Merge branch 'code-411' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#108)
This commit is contained in:
commit
42efe1cebd
@ -25,9 +25,7 @@ export function RepositoryTagsContent({ repoMetadata }: Pick<GitInfoProps, 'repo
|
||||
const { routes } = useAppContext()
|
||||
const history = useHistory()
|
||||
const [searchTerm, setSearchTerm] = useState('')
|
||||
const onSuccess = voidFn(noop)
|
||||
const openModal = useCreateTagModal({ repoMetadata, onSuccess })
|
||||
|
||||
const openModal = useCreateTagModal({ repoMetadata, onSuccess:()=>{refetch()},showSuccessMessage:true })
|
||||
const { updateQueryParams } = useUpdateQueryParams()
|
||||
|
||||
const pageBrowser = useQueryParams<PageBrowserProps>()
|
||||
@ -108,7 +106,6 @@ export function RepositoryTagsContent({ repoMetadata }: Pick<GitInfoProps, 'repo
|
||||
message={getString('tagEmpty')}
|
||||
onButtonClick={() => {
|
||||
openModal()
|
||||
refetch()
|
||||
}}
|
||||
/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user