Skip to content

Commit

Permalink
chore: removed duplicate else-if JS-0034 (appsmithorg#8356)
Browse files Browse the repository at this point in the history
Co-authored-by: Jen Dunlap <jen@customer.io>
  • Loading branch information
jdun28 and Jen Dunlap authored Oct 11, 2021
1 parent 97a330c commit bd1e196
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ export const getItemType = (item: SearchItem): SEARCH_ITEM_TYPES => {
item.kind === SEARCH_ITEM_TYPES.category
)
type = item.kind;
else if (item.kind === SEARCH_ITEM_TYPES.page) type = SEARCH_ITEM_TYPES.page;
else if (item.config?.pluginType === PluginType.JS)
type = SEARCH_ITEM_TYPES.jsAction;
else if (item.config?.name) type = SEARCH_ITEM_TYPES.action;
Expand Down

0 comments on commit bd1e196

Please sign in to comment.