Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Oct 29, 2023
1 parent f5e15e5 commit 11c8576
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/account/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/account/profile/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/customers/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/orders/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/products/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/_data/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
* @returns
*/
getLinkActiveParent(block, pageUrl, logical = true) {
let response = '';
let found = false;

found = block.items.find(element => element.url === pageUrl);
Expand All @@ -39,9 +40,9 @@ module.exports = {
}

if (!logical) {
return found ? 'open' : 'closed';
return response = found ? 'open' : 'closed';
}

return found;
return response = found ? true : false;
},
};
2 changes: 1 addition & 1 deletion src/_includes/partial/card/data-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h2 class="app-card__title">{{ dataTable.title }}</h2>
{% endif %}
{% if dataTable.showSearch == true %}
<div class="app-card__actions">
<form class="search-form">
<form class="search-form" @submit.prevent>
<span class="search-form__icon">
{% svgIcon "./src/img/icon/search.svg" %}
</span>
Expand Down

0 comments on commit 11c8576

Please sign in to comment.