mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 03:38:04 +00:00
* added more info to features.md * added details to FEATURES.md * . * reset to last commit * Update FEATURES.md * fix: resolve rollback to same revision bug (#578)
This commit is contained in:
committed by
GitHub
parent
aa2cc04084
commit
2dfc25c038
@@ -335,7 +335,9 @@ const Rollback = ({
|
|||||||
useRollbackRelease({
|
useRollbackRelease({
|
||||||
onSuccess: async () => {
|
onSuccess: async () => {
|
||||||
await navigate(
|
await navigate(
|
||||||
`/${namespace}/${chart}/installed/revision/${revisionInt + 1}`
|
`/${namespace}/${chart}/installed/revision/${
|
||||||
|
installedRevision.revision + 1
|
||||||
|
}`
|
||||||
);
|
);
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
},
|
},
|
||||||
@@ -387,7 +389,7 @@ const Rollback = ({
|
|||||||
rollbackRelease({
|
rollbackRelease({
|
||||||
ns: namespace,
|
ns: namespace,
|
||||||
name: String(chart),
|
name: String(chart),
|
||||||
revision: release.revision,
|
revision: rollbackRevision,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
variant: ModalButtonStyle.info,
|
variant: ModalButtonStyle.info,
|
||||||
|
|||||||
Reference in New Issue
Block a user