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

Bugfix: Changing VDataTable mixin to reset expanded value to object instead o… #2666

Merged
merged 1 commit into from Dec 1, 2017

Conversation

GregYankovoy
Copy link
Contributor

Clicking a VDataTable header triggers a reset of the expanded property. The functionality requires an object, but this mixin sets it to an array. I believe this was missed in a previous bugfix.

The problematic code causes VDataTable numeric string item-key values to create an array the size of the item-key value. What we want is an object with an item-key to bool mapping. This change is tested and working.

…f array

Clicking a VDataTable header triggers a reset of the expanded property.  The functionality requires an object, but this mixin sets it to an array.

This causes VDataTable item-key values that are numbers to create an array the size of the item-key value. What we want is an object with an item-key to bool mapping.
@codecov
Copy link

codecov bot commented Nov 29, 2017

Codecov Report

Merging #2666 into master will decrease coverage by 0.09%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #2666     +/-   ##
=========================================
- Coverage   68.38%   68.28%   -0.1%     
=========================================
  Files         118      118             
  Lines        3150     3150             
  Branches      998      998             
=========================================
- Hits         2154     2151      -3     
- Misses        711      714      +3     
  Partials      285      285
Impacted Files Coverage Δ
src/components/VDataTable/mixins/head.js 80% <0%> (ø) ⬆️
src/components/VMenu/VMenu.js 86.2% <0%> (-13.8%) ⬇️
src/components/VTimePicker/mixins/time-title.js 76.92% <0%> (+7.69%) ⬆️

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 194232b...9a5fd3d. Read the comment docs.

@GregYankovoy
Copy link
Contributor Author

How do I make sure someone merges this in?

@KaelWD KaelWD merged commit 21268c8 into vuetifyjs:master Dec 1, 2017
@lock
Copy link

lock bot commented Apr 15, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord

@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 2019
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.

None yet

2 participants