Skip to content

Commit

Permalink
Merge pull request #220 from decaf-dev/dev
Browse files Browse the repository at this point in the history
1.27.1
  • Loading branch information
decaf-dev authored Jul 24, 2024
2 parents c30b1dc + 5751bb5 commit 5437fe1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "vault-explorer",
"name": "Vault Explorer",
"version": "1.27.0",
"version": "1.27.1",
"minAppVersion": "1.4.13",
"description": "Explore your vault in visual format",
"author": "DecafDev",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-vault-explorer",
"version": "1.27.0",
"version": "1.27.1",
"description": "Explore your vault in visual format",
"main": "main.js",
"scripts": {
Expand Down
7 changes: 4 additions & 3 deletions src/svelte/app/components/grid-card.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
let loadSocialMediaImage: boolean = true;
let isDeviceRegistered: boolean = false;
let fileInteractionStyle: FileInteractionStyle = "content";
let imgSrc: string | null = null;
store.plugin.subscribe((p) => {
plugin = p;
Expand Down Expand Up @@ -142,7 +143,7 @@
if (!loadSocialMediaImage) return;
if (imageUrl === null && url !== null) {
imageUrl = await fetchSocialMediaImage(url);
imgSrc = await fetchSocialMediaImage(url);
}
}
Expand Down Expand Up @@ -198,9 +199,9 @@
on:mouseover={handleCardMouseOver}
>
<div class="vault-explorer-grid-card__cover">
{#if imageUrl !== null}
{#if imgSrc !== null}
<!-- svelte-ignore a11y-missing-attribute -->
<img class="vault-explorer-grid-card__image" src={imageUrl} />
<img class="vault-explorer-grid-card__image" src={imgSrc} />
{/if}
{#if isFavorite === true}
<div class="vault-explorer-grid-card__favorite">
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,6 @@
"1.26.1": "1.4.13",
"1.26.2": "1.4.13",
"1.26.3": "1.4.13",
"1.27.0": "1.4.13"
"1.27.0": "1.4.13",
"1.27.1": "1.4.13"
}

0 comments on commit 5437fe1

Please sign in to comment.