Skip to content

Commit

Permalink
Update src/bundle/Resources/public/js/scripts/fieldType/ezobjectrelat…
Browse files Browse the repository at this point in the history
…ionlist.js

Co-Authored-By: Dariusz Szut <dew326@gmail.com>
  • Loading branch information
GrabowskiM and dew326 authored Apr 14, 2020
1 parent c882035 commit 846aae2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
event.preventDefault();

const config = JSON.parse(event.currentTarget.dataset.udwConfig);
const limit = parseInt(event.currentTarget.dataset.limit);
const limit = parseInt(event.currentTarget.dataset.limit, 10);
const title = limit === 1
? Translator.trans(/*@Desc("Select a Content item")*/ 'ezobjectrelationlist.title.single', {}, 'universal_discovery_widget')
: Translator.trans(/*@Desc("Select Content item(s)")*/ 'ezobjectrelationlist.title.multi', {}, 'universal_discovery_widget');
Expand Down

0 comments on commit 846aae2

Please # to comment.