mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-31 23:58:45 +00:00
fix: Remove the 'Plan Discarded' Message from the Enable/Disable Apply Commands (#3511)
* Remove `/?discard=true` * Restore forward slash
This commit is contained in:
@@ -168,7 +168,7 @@ var IndexTemplate = template.Must(template.New("index.html.tmpl").Parse(`
|
||||
url: '{{ .CleanedBasePath }}/apply/lock',
|
||||
type: 'POST',
|
||||
success: function(result) {
|
||||
window.location.replace("{{ .CleanedBasePath }}/?discard=true");
|
||||
window.location.replace("{{ .CleanedBasePath }}/");
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -185,7 +185,7 @@ var IndexTemplate = template.Must(template.New("index.html.tmpl").Parse(`
|
||||
url: '{{ .CleanedBasePath }}/apply/unlock',
|
||||
type: 'DELETE',
|
||||
success: function(result) {
|
||||
window.location.replace("{{ .CleanedBasePath }}/?discard=true");
|
||||
window.location.replace("{{ .CleanedBasePath }}/");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user