project map script | semantic parcer
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
let success = "";
|
||||
// [/SECTION]
|
||||
|
||||
// [DEF:fetchEnvironments:Function]
|
||||
// @PURPOSE: Fetches the list of environments.
|
||||
async function fetchEnvironments() {
|
||||
try {
|
||||
const response = await fetch('/api/environments');
|
||||
@@ -41,6 +43,7 @@
|
||||
loading = false;
|
||||
}
|
||||
}
|
||||
// [/DEF:fetchEnvironments:Function]
|
||||
|
||||
onMount(fetchEnvironments);
|
||||
|
||||
@@ -78,7 +81,7 @@
|
||||
fetchingDbs = false;
|
||||
}
|
||||
}
|
||||
// [/DEF:fetchDatabases]
|
||||
// [/DEF:fetchDatabases:Function]
|
||||
|
||||
// [DEF:handleUpdate:Function]
|
||||
/**
|
||||
@@ -114,7 +117,7 @@
|
||||
error = e.message;
|
||||
}
|
||||
}
|
||||
// [/DEF:handleUpdate]
|
||||
// [/DEF:handleUpdate:Function]
|
||||
</script>
|
||||
|
||||
<!-- [SECTION: TEMPLATE] -->
|
||||
@@ -180,4 +183,4 @@
|
||||
/* Page specific styles */
|
||||
</style>
|
||||
|
||||
<!-- [/DEF:MappingManagement] -->
|
||||
<!-- [/DEF:MappingManagement:Component] -->
|
||||
|
||||
Reference in New Issue
Block a user