Skip to content

Commit

Permalink
minor change to fix copy item type (stuartcryan#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckman212 authored Sep 9, 2020
1 parent 03afcef commit 23f1f62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions items.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ func addItemDetails(item Item, previousSearch string, autoFetchCache bool) {
}
wf.NewItem("Type").
Subtitle(fmt.Sprintf("%s (%d)", typeName(item.Type), item.Type)).
Arg(fmt.Sprint(item.Type)).
Arg(fmt.Sprintf("%s (%d)", typeName(item.Type), item.Type)).
Icon(iconList).
Var("notification", fmt.Sprintf("Copied Item Id:\n%q", item.Id)).
Var("notification", fmt.Sprintf("Copied Item Type:\n%s (%d)", typeName(item.Type), item.Type)).
Var("action", "output").Valid(true)
if (conf.EmptyDetailResults && item.Type != 2) || (item.Type != 2 && item.Notes != "") {
wf.NewItem("Note").
Expand Down

0 comments on commit 23f1f62

Please sign in to comment.