diff --git a/client/src/views/modals/add-dashlet.js b/client/src/views/modals/add-dashlet.js index 8256de99a2..435bbcf2a6 100644 --- a/client/src/views/modals/add-dashlet.js +++ b/client/src/views/modals/add-dashlet.js @@ -98,7 +98,7 @@ class AddDashletModalView extends ModalView { return true; }); - this.dashletList = this.dashletList.filter(item => { + this.dashletList.forEach(item => { this.translations[item] = this.translate(item, 'dashlets'); }); }