From b80502f8a646b21d25232327bd44bbb9bf9c22a9 Mon Sep 17 00:00:00 2001 From: Nattfarinn Date: Wed, 5 Feb 2020 12:42:50 +0100 Subject: [PATCH] fix: Code Review --- src/bundle/Resources/public/js/scripts/admin.location.view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle/Resources/public/js/scripts/admin.location.view.js b/src/bundle/Resources/public/js/scripts/admin.location.view.js index 7125dcfd3c..08723471fb 100644 --- a/src/bundle/Resources/public/js/scripts/admin.location.view.js +++ b/src/bundle/Resources/public/js/scripts/admin.location.view.js @@ -78,7 +78,7 @@ }) .catch(eZ.helpers.notification.showErrorNotification); }; - const generateLink = (contentId, locationId) => Routing.generate('_ez_content_view', { contentId, locationId }); + const generateLink = (locationId, contentId) => Routing.generate('_ez_content_view', { contentId, locationId }); const setModalTableTitle = (title) => { const modalTableTitleNode = doc.querySelector(`${SELECTOR_MODAL_BULK_ACTION_FAIL} .ez-table-header__headline`);