update suggestion result with ActionKeywordAssigned

This commit is contained in:
Jeremy Wu 2022-01-19 20:39:48 +11:00 committed by GitHub
parent b0d29be067
commit 20e1b659fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,6 +135,7 @@ namespace Flow.Launcher.Plugin.WebSearch
SubTitle = subtitle,
Score = score,
IcoPath = searchSource.IconPath,
ActionKeywordAssigned = searchSource.ActionKeyword == SearchSourceGlobalPluginWildCardSign ? string.Empty : searchSource.ActionKeyword,
Action = c =>
{
_context.API.OpenUrl(searchSource.Url.Replace("{q}", Uri.EscapeDataString(o)));