Shorten MBID for release and surround in brackets.

This commit is contained in:
aglowinthefield 2025-09-09 10:03:18 -04:00
parent b1b943d3a1
commit 3ac47f83ec
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ function createMapStateToProps() {
`, ${mediumCount} med, ${trackCount} tracks` +
`${country && country.length > 0 ? `, ${shortenList(country)}` : ''}` +
`${format ? `, [${format}]` : ''}` +
`, ${foreignReleaseId.toString()}`
`, [...${foreignReleaseId.toString().slice(-4)}]`
};
});

View file

@ -65,7 +65,7 @@ class SelectAlbumReleaseRow extends Component {
`${r.country.length > 0 ? ', ' : ''}${shortenList(r.country)}` +
`${r.format ? ', [' : ''}${r.format}${r.format ? ']' : ''}` +
`${r.monitored ? ', Monitored' : ''}` +
`, ${r.id.toString()}`
`, [...${r.id.toString().slice(-4)}]`
}))}
value={matchedReleaseId}
onChange={this.onInputChange}