Skip to content

Commit 1f2f757

Browse files
committed
add an edit bookmarks.json
1 parent 0d803f6 commit 1f2f757

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

frontend/app/view/webview/webview.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,12 @@ const BookmarkTypeahead = memo(
650650
<SuggestionControlNoResults>
651651
<div className="text-center">
652652
<p className="text-sm text-gray-400">No matching bookmarks</p>
653+
<button
654+
onClick={openBookmarksJson}
655+
className="mt-3 px-4 py-2 text-sm font-medium text-white bg-gray-700 rounded-lg hover:bg-gray-600 cursor-pointer"
656+
>
657+
Edit bookmarks.json
658+
</button>
653659
</div>
654660
</SuggestionControlNoResults>
655661
</BlockHeaderSuggestionControl>

0 commit comments

Comments
 (0)