Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/survey-core/src/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8275,7 +8275,7 @@ export class SurveyModel extends SurveyElementCore
public applyTheme(theme: ITheme, baseTheme?: ITheme): void {
if (!theme && !baseTheme) return;

const themeToApply = baseTheme ? mergeObjects({}, baseTheme, theme) : theme;
const themeToApply = baseTheme ? mergeObjects({}, baseTheme, theme) : mergeObjects({}, theme);
return this._applyTheme(themeToApply);
}
private _applyTheme(theme: ITheme): void {
Expand Down