fix(ui): Correct import success toast and add VS Code launch/tasks recommendations for the UI

This commit is contained in:
2025-11-27 22:35:35 +00:00
parent 34c90e21db
commit e4dd4cce0a
3 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-11-27 - 1.9.1 - fix(ui)
Correct import success toast and add VS Code launch/tasks recommendations for the UI
- Fix backup import success toast in backups-tab.component to reference response.data.service.name (previously response.data.serviceName), preventing incorrect service name display.
- Add VS Code workspace settings for the UI: extensions recommendation, launch configurations for 'ng serve' and 'ng test', and npm tasks for start/test to simplify local development and debugging.
## 2025-11-27 - 1.9.0 - feat(backups)
Add backup import API and improve backup download/import flow in UI

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/onebox',
version: '1.9.0',
version: '1.9.1',
description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers'
}

View File

@@ -1027,7 +1027,7 @@ export class BackupsTabComponent implements OnInit {
}
if (response.success && response.data) {
this.toast.success(`Service "${response.data.serviceName}" imported successfully`);
this.toast.success(`Service "${response.data.service.name}" imported successfully`);
this.closeImportDialog();
// Navigate to the services list to see the new service
this.router.navigate(['/services']);