component/ structure cleanup feature/68-component-cleanup #70

Merged
niggl merged 11 commits from feature/68-component-cleanup into dev 2021-02-18 16:16:46 +00:00
Showing only changes of commit a4c955ce85 - Show all commits

View File

@ -35,22 +35,22 @@
let modal_open = false; let modal_open = false;
let delete_org = {}; let delete_org = {};
function deleteOrganization() { function deleteOrganization() {
// RunnerOrganizationService.runnerOrganizationControllerRemove( RunnerOrganizationService.runnerOrganizationControllerRemove(
// original.id, original.id,
// false false
// ) )
// .then((resp) => { .then((resp) => {
// Toastify({ Toastify({
// text: "Organization deleted", text: "Organization deleted",
// duration: 500, duration: 500,
// backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)", backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
// }).showToast(); }).showToast();
// location.replace("./"); location.replace("./");
// }) })
// .catch((err) => { .catch((err) => {
modal_open = true; modal_open = true;
delete_org = original; delete_org = original;
// }); });
} }
function submit() { function submit() {
if (data_loaded === true && save_enabled) { if (data_loaded === true && save_enabled) {