Skip to content

Commit

Permalink
[stable30] fix(initial-state): correct defaultDaemonConfig initial st…
Browse files Browse the repository at this point in the history
…ate (#476)

Backport of #473

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
  • Loading branch information
andrey18106 authored Dec 23, 2024
1 parent afb784c commit e0b2c8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Service/ExAppsPageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public function provideAppApiState(IInitialState $initialState): void {
}

$initialState->provideInitialState('defaultDaemonConfigAccessible', $daemonConfigAccessible);
$initialState->provideInitialState('defaultDaemonConfig', $defaultDaemonConfig);
if ($defaultDaemonConfig !== null) {
$initialState->provideInitialState('defaultDaemonConfig', $defaultDaemonConfig);
}
}
}

0 comments on commit e0b2c8d

Please sign in to comment.