Skip to content

Commit

Permalink
fix: Replaced MBID with ISBN in 'add identifiers' link (BB-279)
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkeyDo committed Oct 19, 2018
1 parent 9e07fc1 commit fe34eaf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/client/entity-editor/button-bar/identifier-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import Icon from 'react-fontawesome';
import PropTypes from 'prop-types';
import React from 'react';


/**
* Presentational component. The IdentifierButton component renders a button
* component in the style of a link. The link text indicates the number of
Expand All @@ -39,12 +38,12 @@ function IdentifierButton({
numIdentifiers,
...props
}) {
let text = 'Add identifiers (eg. MBID, Wikidata ID)…';
let text = 'Add identifiers (eg. ISBN, Wikidata ID)…';
if (numIdentifiers === 1) {
text = 'Edit 1 identifier (eg. MBID, Wikidata ID)…';
text = 'Edit 1 identifier (eg. ISBN, Wikidata ID)…';
}
else if (numIdentifiers > 1) {
text = `Edit ${numIdentifiers} identifiers (eg. MBID, Wikidata ID)…`;
text = `Edit ${numIdentifiers} identifiers (eg. ISBN, Wikidata ID)…`;
}

const iconElement = identifiersInvalid &&
Expand Down

0 comments on commit fe34eaf

Please sign in to comment.