fix(ui): Correct import success toast and add VS Code launch/tasks recommendations for the UI
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
|
||||
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user