fix(web-ui): stabilize app store service creation flow and add Ghost sqlite defaults
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user