Skip to content

Commit

Permalink
XWIKI-21878: Various close button modals do not use intended icons
Browse files Browse the repository at this point in the history
* Reduced line length to match quality requirement imposed by eslint.
  • Loading branch information
Sereza7 committed Aug 27, 2024
1 parent 6a2dfc0 commit 40ad52a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ export default {
async fetchRemoteIconDescriptor(iconName) {
try {
const parameters = `name=${encodeURIComponent(iconName)}`;
const iconURL = `${XWiki.contextPath}/rest/wikis/${encodeURIComponent(XWiki.currentWiki)}/iconThemes/icons?${parameters}`;
const iconURL = `${XWiki.contextPath}/rest/wikis/${encodeURIComponent(XWiki.currentWiki)}` +
`/iconThemes/icons?${parameters}`;
const response = await window.fetch(iconURL, {
headers: {
'Accept': 'application/json'
Expand Down

0 comments on commit 40ad52a

Please sign in to comment.