Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Use the correct action name for pinning via drop
Browse files Browse the repository at this point in the history
I think what happened here is that everything was converted but new code
was pulled in from a component refactor that moved using the new action
name and not updated during a merge conflict.

Auditors: @bsclifton

Fix #8469
  • Loading branch information
bbondy committed Apr 24, 2017
1 parent ba1bb7f commit 15fe6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/pinnedTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class PinnedTabs extends ImmutableComponent {
const droppedOnFrameProps = windowStore.getFrame(droppedOnTab.props.tab.get('frameKey'))
windowActions.moveTab(sourceDragData, droppedOnFrameProps, isLeftSide)
if (!sourceDragData.get('pinnedLocation')) {
appActions.setPinned(sourceDragData.get('tabId'), true)
appActions.tabPinned(sourceDragData.get('tabId'), true)
} else {
appActions.moveSite(siteUtil.getDetailFromFrame(sourceDragData, siteTags.PINNED),
siteUtil.getDetailFromFrame(droppedOnFrameProps, siteTags.PINNED),
Expand Down

1 comment on commit 15fe6e6

@bsclifton
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

Please sign in to comment.