fix
This commit is contained in:
@@ -68,6 +68,24 @@
|
||||
addToast($t.settings?.save_failed || 'Failed to save settings', 'error');
|
||||
}
|
||||
}
|
||||
|
||||
// Placeholder functions for environment actions
|
||||
function handleTestEnv(id) {
|
||||
console.log(`[SettingsPage][Action] Test environment ${id}`);
|
||||
addToast('Environment test started', 'info');
|
||||
}
|
||||
|
||||
function editEnv(env) {
|
||||
console.log(`[SettingsPage][Action] Edit environment ${env.id}`);
|
||||
// TODO: Open edit modal
|
||||
}
|
||||
|
||||
function handleDeleteEnv(id) {
|
||||
if (confirm('Are you sure you want to delete this environment?')) {
|
||||
console.log(`[SettingsPage][Action] Delete environment ${id}`);
|
||||
// TODO: Call API to delete
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@@ -265,6 +283,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- [/DEF:SettingsPage:Page] -->
|
||||
|
||||
Reference in New Issue
Block a user