parent
84a9cf069a
commit
ce6002a631
@ -122,20 +122,20 @@
|
|||||||
Delete</button>
|
Delete</button>
|
||||||
<button
|
<button
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
// RunnerOrganisationService.runnerOrganisationControllerRemove(o.id, false)
|
RunnerOrganisationService.runnerOrganisationControllerRemove(o.id, false)
|
||||||
// .then((resp) => {
|
.then((resp) => {
|
||||||
// current_organizations = current_organizations.filter((obj) => obj.id !== o.id);
|
current_organizations = current_organizations.filter((obj) => obj.id !== o.id);
|
||||||
// Toastify({
|
Toastify({
|
||||||
// text: 'Organization deleted',
|
text: 'Organization deleted',
|
||||||
// duration: 500,
|
duration: 500,
|
||||||
// backgroundColor:
|
backgroundColor:
|
||||||
// 'linear-gradient(to right, #00b09b, #96c93d)',
|
'linear-gradient(to right, #00b09b, #96c93d)',
|
||||||
// }).showToast();
|
}).showToast();
|
||||||
// })
|
})
|
||||||
// .catch((err) => {
|
.catch((err) => {
|
||||||
modal_open = true;
|
modal_open = true;
|
||||||
delete_org = o;
|
delete_org = o;
|
||||||
// });
|
});
|
||||||
}}
|
}}
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
class="ml-4 text-red-600 hover:text-red-900 cursor-pointer">Confirm
|
class="ml-4 text-red-600 hover:text-red-900 cursor-pointer">Confirm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user