mirror of
https://github.com/decaf-dev/obsidian-vault-explorer.git
synced 2026-07-22 10:10:31 +00:00
commit
b4e55fbf4a
2 changed files with 6 additions and 6 deletions
|
|
@ -204,11 +204,7 @@
|
|||
{/if}
|
||||
{#if isFavorite === true}
|
||||
<div class="vault-explorer-grid-card__favorite">
|
||||
<Icon
|
||||
iconId="star"
|
||||
ariaLabel="Favorite"
|
||||
color="var(--color-yellow)"
|
||||
/>
|
||||
<Icon iconId="star" ariaLabel="Favorite" />
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
@ -235,6 +231,7 @@
|
|||
{#if url !== null}
|
||||
<IconButton
|
||||
iconId="external-link"
|
||||
ariaLabel="Open in browser"
|
||||
noPadding
|
||||
on:click={handleUrlClick}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
import FavoritesFilter from "./components/favorites-filter.svelte";
|
||||
import TabList from "../shared/components/tab-list.svelte";
|
||||
import Tab from "../shared/components/tab.svelte";
|
||||
import { TFile } from "obsidian";
|
||||
import { Notice, TFile } from "obsidian";
|
||||
import {
|
||||
TCustomFilter,
|
||||
TDashboardView,
|
||||
|
|
@ -703,6 +703,9 @@
|
|||
|
||||
//If the favorite property is not set, return
|
||||
if (favoritePropertyName === "") {
|
||||
new Notice(
|
||||
"Please select a favorite property in the Vault Explorer settings to use this feature",
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue