fix: open inbox artifacts by type

This commit is contained in:
2026-06-05 08:06:06 +08:00
parent db47d31183
commit 91b5629e01
4 changed files with 108 additions and 15 deletions
+7
View File
@@ -106,6 +106,13 @@ func (a *App) OpenLink(id string) error {
return openExternalURL(l.URL)
}
func (a *App) OpenURL(rawURL string) error {
if err := a.requireVault(); err != nil {
return err
}
return openExternalURL(rawURL)
}
func (a *App) createResolvedLink(nodeID, rawURL, title, note, source, capturedAt string) (*LinkDTO, error) {
rawURL = strings.TrimSpace(rawURL)
if rawURL == "" {