mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 22:09:41 +02:00
fix(deploy): return to referring view [EE-5345] (#8763)
* fix(deploy): return to referring view [EE-5345] * no-underline -> no-decoration --------- Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
9b287f3020
commit
3e654ff9b2
8 changed files with 37 additions and 11 deletions
|
@ -168,7 +168,7 @@ function TableActions({ selectedItems }: TableActionsProps) {
|
|||
|
||||
return (
|
||||
<div className="servicesDatatable-actions">
|
||||
<Authorized authorizations="K8sServiceW">
|
||||
<Authorized authorizations="K8sServicesW">
|
||||
<Button
|
||||
className="btn-wrapper"
|
||||
color="dangerlight"
|
||||
|
@ -179,7 +179,11 @@ function TableActions({ selectedItems }: TableActionsProps) {
|
|||
Remove
|
||||
</Button>
|
||||
|
||||
<Link to="kubernetes.deploy" className="space-left">
|
||||
<Link
|
||||
to="kubernetes.deploy"
|
||||
params={{ referrer: 'kubernetes.services' }}
|
||||
className="space-left hover:no-decoration"
|
||||
>
|
||||
<Button className="btn-wrapper" color="primary" icon="plus">
|
||||
Create from manifest
|
||||
</Button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue