fix(web-ui): stabilize app store service creation flow and add Ghost sqlite defaults

This commit is contained in:
2026-03-18 09:48:12 +00:00
parent 829f7e47f1
commit 6e5743c837
9 changed files with 139 additions and 366 deletions

View File

@@ -158,6 +158,8 @@ export class ObViewServices extends DeesElement {
this.backupsState = newState;
});
this.rxSubscriptions.push(backupsSub);
// No subscription needed — pendingAppTemplate is checked in render()
}
public static styles = [
@@ -226,9 +228,13 @@ export class ObViewServices extends DeesElement {
this.navigateToPlatformDetail(type);
}
// If an app template was selected from the App Store, switch to create view
}
updated(changedProperties: Map<string, any>) {
super.updated(changedProperties);
// Check for pending app template from the App Store after each update
const uiState = appstate.uiStatePart.getState();
if (uiState.pendingAppTemplate) {
if (uiState.pendingAppTemplate && !this.pendingTemplate) {
this.pendingTemplate = uiState.pendingAppTemplate;
appstate.uiStatePart.setState({
...appstate.uiStatePart.getState(),