DEV: Fix theme name in this deprecation notices (#29888)

A followup to 019ba099c8
This commit is contained in:
Jarek Radosz 2024-11-22 11:24:02 +01:00 committed by GitHub
parent d71016522e
commit b9838d6066
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ export default {
if (pluginMatch || themeIdMatch) {
const source = {
type: pluginMatch ? "plugin" : "theme",
name: pluginMatch || getThemeInfo(parseInt(themeIdMatch, 10)),
name: pluginMatch || getThemeInfo(parseInt(themeIdMatch, 10)).name,
id: themeIdMatch,
};
options.source = source;