Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid to show empty preview when changing to active editor of non-vue file #42

Merged
merged 2 commits into from
Jun 29, 2018

Conversation

ktsn
Copy link
Owner

@ktsn ktsn commented Jun 29, 2018

This prevents the preview to show empty preview when the users activate an editor which showing non-vue file. The preview keep showing the current preview in that case.

@codecov
Copy link

codecov bot commented Jun 29, 2018

Codecov Report

Merging #42 into master will decrease coverage by 0.19%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #42     +/-   ##
=========================================
- Coverage   64.46%   64.27%   -0.2%     
=========================================
  Files          51       51             
  Lines        1683     1688      +5     
  Branches      382      392     +10     
=========================================
  Hits         1085     1085             
- Misses        583      588      +5     
  Partials       15       15
Impacted Files Coverage Δ
src/view/components/PageMain.vue 0% <ø> (ø) ⬆️
src/message/bus.ts 0% <0%> (ø) ⬆️
src/view/store/modules/project/project-getters.ts 90% <0%> (-3.75%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b07626...857f0ce. Read the comment docs.

@ktsn
Copy link
Owner Author

ktsn commented Jun 29, 2018

Maybe we should show the component path in the preview page.

@ktsn ktsn merged commit b1c230b into master Jun 29, 2018
@ktsn ktsn deleted the prevent-show-empty-preview branch June 29, 2018 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant