l
This commit is contained in:
parent
1e53bba6e7
commit
9cdb441dc5
3 changed files with 2 additions and 5 deletions
|
|
@ -105,7 +105,7 @@ function renderProjects() {
|
|||
await refreshProjects();
|
||||
});
|
||||
div.querySelector('[data-unprovision]').addEventListener('click', async () => {
|
||||
const ok = confirm(`Unprovision ${p.name}? This removes service/db/route and project record.`);
|
||||
const ok = confirm(`Unprovision ${p.name}? This removes service/route and project record, but keeps DB.`);
|
||||
if (!ok) return;
|
||||
await api(`/projects/${p.id}/unprovision`, { method: 'POST' });
|
||||
await refreshProjects();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue