Skip to content

Commit

Permalink
Skip query params for default backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Sep 29, 2020
1 parent 7c7c0de commit de37c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const defaultMapImageUrl: MapImageUrl = (image = "", block) => {
}`
);

if (block) {
if (block && !image.includes("/images/page-cover/")) {
const table =
block.value.parent_table === "space" ? "block" : block.value.parent_table;
url.searchParams.set("table", table);
Expand Down

0 comments on commit de37c6c

Please sign in to comment.