Fixed an issue where theme preview under theme options was broken in pgAdmin server mode. #7626

This commit is contained in:
Pravesh Sharma
2024-07-16 10:25:48 +05:30
committed by GitHub
parent b303693ae8
commit a06c13623d
2 changed files with 3 additions and 4 deletions

View File

@@ -295,6 +295,7 @@ export default function PreferencesComponent({ ...props }) {
} else {
opt.selected = false;
}
opt.preview_src = opt.preview_src && url_for('static', { filename: opt.preview_src });
});
}
}