Skip to content

Commit

Permalink
records-ui: fix removing community branding
Browse files Browse the repository at this point in the history
* Closes inveniosoftware#2869.
* Passes "null" instead of empty string ("") as the "default" field
  value when removing community branding from a record.
  • Loading branch information
slint committed Nov 19, 2024
1 parent 9d733c9 commit 85ac8cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class ManageDefaultBrandingAction extends Component {
labelPosition="left"
icon="paint brush"
floated="right"
onClick={() => this.handleSetBranding("")}
onClick={() => this.handleSetBranding(null)}
content={i18next.t("Remove branding")}
aria-label={i18next.t(
"{{communityTitle}} is a default branding for this record",
Expand Down

0 comments on commit 85ac8cc

Please sign in to comment.