mirror of
https://github.com/harness/drone.git
synced 2025-05-09 00:41:18 +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 { routes } = useAppContext()
|
||||||
const history = useHistory()
|
const history = useHistory()
|
||||||
const [searchTerm, setSearchTerm] = useState('')
|
const [searchTerm, setSearchTerm] = useState('')
|
||||||
const onSuccess = voidFn(noop)
|
const openModal = useCreateTagModal({ repoMetadata, onSuccess:()=>{refetch()},showSuccessMessage:true })
|
||||||
const openModal = useCreateTagModal({ repoMetadata, onSuccess })
|
|
||||||
|
|
||||||
const { updateQueryParams } = useUpdateQueryParams()
|
const { updateQueryParams } = useUpdateQueryParams()
|
||||||
|
|
||||||
const pageBrowser = useQueryParams<PageBrowserProps>()
|
const pageBrowser = useQueryParams<PageBrowserProps>()
|
||||||
@ -108,7 +106,6 @@ export function RepositoryTagsContent({ repoMetadata }: Pick<GitInfoProps, 'repo
|
|||||||
message={getString('tagEmpty')}
|
message={getString('tagEmpty')}
|
||||||
onButtonClick={() => {
|
onButtonClick={() => {
|
||||||
openModal()
|
openModal()
|
||||||
refetch()
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user