Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions _dev/front/js/graphql/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
* Get every lists from User
*/
lists: async (root, {url}) => {
if (!prestashop.customer.is_logged) {

Check failure on line 70 in _dev/front/js/graphql/resolvers.js

View workflow job for this annotation

GitHub Actions / JS linter (16)

'prestashop' is not defined
return [];
}

const response = await fetch(url);

const datas = await response.json();
Expand Down
46 changes: 4 additions & 42 deletions public/addtowishlist.bundle.js

Large diffs are not rendered by default.

20 changes: 1 addition & 19 deletions public/backoffice.bundle.js

Large diffs are not rendered by default.

18 changes: 0 additions & 18 deletions public/backoffice.css

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

46 changes: 4 additions & 42 deletions public/button.bundle.js

Large diffs are not rendered by default.

62 changes: 3 additions & 59 deletions public/create.bundle.js

Large diffs are not rendered by default.

20 changes: 1 addition & 19 deletions public/form.bundle.js

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

18 changes: 0 additions & 18 deletions public/form.css

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

20 changes: 1 addition & 19 deletions public/graphql.js

Large diffs are not rendered by default.

120 changes: 5 additions & 115 deletions public/product.bundle.js

Large diffs are not rendered by default.

100 changes: 4 additions & 96 deletions public/productslist.bundle.js

Large diffs are not rendered by default.

Loading
Loading