fix: remove duplicate folder picker in Obsidian browser shape mode
Removed the purple "Connect Vault" button from shape mode rendering. The no-vault case is now handled only by the early return section which shows the working "Select Folder" design. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
6ed1edf82b
commit
72043f0f12
|
|
@ -1191,20 +1191,6 @@ export const ObsidianVaultBrowser: React.FC<ObsidianVaultBrowserProps> = ({
|
|||
<h2>
|
||||
{vault ? `Obsidian Vault: ${vault.name}` : 'No Obsidian Vault Connected'}
|
||||
</h2>
|
||||
{!vault && (
|
||||
<div className="vault-connect-section">
|
||||
<p className="vault-connect-message">
|
||||
Connect your Obsidian vault to browse and add notes to the canvas.
|
||||
</p>
|
||||
<button
|
||||
onClick={handleFolderPicker}
|
||||
className="connect-vault-button"
|
||||
disabled={isLoading}
|
||||
>
|
||||
{isLoading ? 'Connecting...' : 'Connect Vault'}
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{vault && (
|
||||
|
|
|
|||
Loading…
Reference in New Issue