1
0
Fork 0
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:
Ali 2023-04-26 11:23:15 +12:00 committed by GitHub
parent 9b287f3020
commit 3e654ff9b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 37 additions and 11 deletions

View file

@ -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>