Skip to content

Commit

Permalink
Fix typo on logo in custom section
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-github committed Jun 18, 2024
1 parent 62c6dcc commit 8c60edf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/components/Images/logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ const AppLogo = ({
const { interfaceSettings } = useSettingsContext()
if (
interfaceSettings.current &&
interfaceSettings.custom &&
interfaceSettings.custom.logo
interfaceSettings.current.custom &&
interfaceSettings.current.custom.logo
)
return (
<span
dangerouslySetInnerHTML={{
__html: interfaceSettings.custom.logo
__html: interfaceSettings.current.custom.logo
.replace("{height}", height)
.replaceAll("{color}", color)
.replaceAll("{bgcolor}", bgcolor),
Expand Down
6 changes: 3 additions & 3 deletions src/targets/CNC/grblHAL/logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ const AppLogo = ({
const { interfaceSettings } = useSettingsContext()
if (
interfaceSettings.current &&
interfaceSettings.custom &&
interfaceSettings.custom.logo
interfaceSettings.current.custom &&
interfaceSettings.current.custom.logo
)
return (
<span
dangerouslySetInnerHTML={{
__html: interfaceSettings.custom.logo
__html: interfaceSettings.current.custom.logo
.replace("{height}", height)
.replaceAll("{color}", color)
.replaceAll("{bgcolor}", bgcolor),
Expand Down
6 changes: 3 additions & 3 deletions src/targets/Printer3D/Marlin-embedded/logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ const AppLogo = ({
const { interfaceSettings } = useSettingsContext()
if (
interfaceSettings.current &&
interfaceSettings.custom &&
interfaceSettings.custom.logo
interfaceSettings.current.custom &&
interfaceSettings.current.custom.logo
)
return (
<span
dangerouslySetInnerHTML={{
__html: interfaceSettings.custom.logo
__html: interfaceSettings.current.custom.logo
.replace("{height}", height)
.replaceAll("{color}", color)
.replaceAll("{bgcolor}", bgcolor),
Expand Down

0 comments on commit 8c60edf

Please sign in to comment.