Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Call FilePatchController methods on the "real item" - #1400

Merged
smashwilson merged 1 commit into
masterfrom
aw/pending-item
Apr 19, 2018
Merged

smashwilson merged 1 commit into
masterfrom
aw/pending-item

Conversation

@smashwilson

Copy link
Copy Markdown
Contributor

We're using getRealItem() to identify pane items that are FilePatchControllers, but we're calling FilePatchController methods directly on the pane item even if it isn't a FilePatchController.

Not adding a regression test because StagingView is pending a React port and adding more tests would make it that much more painful 😅

Fixes #1396.

@smashwilson
smashwilson merged commit 83880df into master Apr 19, 2018
@smashwilson
smashwilson deleted the aw/pending-item branch April 19, 2018 14:36
smashwilson added a commit that referenced this pull request Apr 19, 2018
Call FilePatchController methods on the "real item"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant