Skip to content

Commit

Permalink
Update preview_image.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 authored Aug 22, 2024
1 parent 1579659 commit 87925c5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/middlewares/preview_image.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ export const preview_image = (middlewares) => [
? action?.request?.data.preview_image
: contentData?.preview_image;
const type = action?.request?.data?.['@type'] || contentData['@type'];
console.log(
lastPreviewImage,
type,
action?.request?.data?.tableau_visualization?.preview,
);

if (
!contentData ||
type !== 'tableau_visualization' ||
Expand Down

0 comments on commit 87925c5

Please sign in to comment.