Skip to content

Commit

Permalink
Unstyle list and menu list values
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Nov 23, 2023
1 parent be46df3 commit 4e5ef9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/actions/choose-from-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ export default {
for (let item in params['WFMenuItems']) {
const li = document.createElement('li');
// @ts-ignore
li.appendChild(renderValue(params['WFMenuItems'][item].WFValue, 'Menu Item'));
const value = renderValue(params['WFMenuItems'][item].WFValue, 'Menu Item');
value.classList.add('sp-unstyled-value');
li.appendChild(value);
ul.appendChild(li);
}
}
Expand Down
4 changes: 3 additions & 1 deletion src/actions/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export default {
if (params['WFItems'].length !== 0) {
for (let item in params['WFItems']) {
const li = document.createElement('li');
li.appendChild(renderValue(params['WFItems'][item], 'List Item'));
const value = renderValue(params['WFItems'][item], 'List Item');
value.classList.add('sp-unstyled-value');
li.appendChild(value);
ul.appendChild(li);
}
}
Expand Down

0 comments on commit 4e5ef9f

Please sign in to comment.