Skip to content

Commit

Permalink
Merge pull request #18 from help-14/local-url
Browse files Browse the repository at this point in the history
fix: local bookmark
  • Loading branch information
help-14 authored Mar 1, 2023
2 parents 36c0a12 + f4112ca commit 692cd64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ func loadData() {
if len(bookmarkData.UrlLocal) > 0 {
url = bookmarkData.UrlLocal
}
columnDataPrivate = append(columnDataPrivate, BookmarkData{bookmarkData.Name, url, bookmarkData.UrlLocal, iconPath, true})
if len(url) > 0 {
columnDataPrivate = append(columnDataPrivate, BookmarkData{bookmarkData.Name, url, bookmarkData.UrlLocal, iconPath, true})
}

//add to public array
if !bookmarkData.IsLocal && len(bookmarkData.Url) > 0 {
Expand Down

0 comments on commit 692cd64

Please sign in to comment.