Skip to content

Commit

Permalink
fix(VTreeview): correcly handle updating items array of equal size (v…
Browse files Browse the repository at this point in the history
…uetifyjs#6202)

the VTreeview component did not handle updating items prop with an array
of equal size as current array.

fixes vuetifyjs#6181
  • Loading branch information
nekosaur authored and Yubi Lee committed Jan 20, 2019
1 parent 9d964b3 commit 2cc7734
Show file tree
Hide file tree
Showing 22 changed files with 118 additions and 170 deletions.
4 changes: 0 additions & 4 deletions packages/docs/src/examples/data-iterator/slots.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
},
items: [
{
value: false,
name: 'Frozen Yogurt',
calories: 159,
fat: 6.0,
Expand All @@ -105,7 +104,6 @@
iron: '1%'
},
{
value: false,
name: 'Ice cream sandwich',
calories: 237,
fat: 9.0,
Expand All @@ -116,7 +114,6 @@
iron: '1%'
},
{
value: false,
name: 'Eclair',
calories: 262,
fat: 16.0,
Expand All @@ -127,7 +124,6 @@
iron: '7%'
},
{
value: false,
name: 'Cupcake',
calories: 305,
fat: 3.7,
Expand Down
10 changes: 0 additions & 10 deletions packages/docs/src/examples/data-iterator/usage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
},
items: [
{
value: false,
name: 'Frozen Yogurt',
calories: 159,
fat: 6.0,
Expand All @@ -75,7 +74,6 @@
iron: '1%'
},
{
value: false,
name: 'Ice cream sandwich',
calories: 237,
fat: 9.0,
Expand All @@ -86,7 +84,6 @@
iron: '1%'
},
{
value: false,
name: 'Eclair',
calories: 262,
fat: 16.0,
Expand All @@ -97,7 +94,6 @@
iron: '7%'
},
{
value: false,
name: 'Cupcake',
calories: 305,
fat: 3.7,
Expand All @@ -108,7 +104,6 @@
iron: '8%'
},
{
value: false,
name: 'Gingerbread',
calories: 356,
fat: 16.0,
Expand All @@ -119,7 +114,6 @@
iron: '16%'
},
{
value: false,
name: 'Jelly bean',
calories: 375,
fat: 0.0,
Expand All @@ -130,7 +124,6 @@
iron: '0%'
},
{
value: false,
name: 'Lollipop',
calories: 392,
fat: 0.2,
Expand All @@ -141,7 +134,6 @@
iron: '2%'
},
{
value: false,
name: 'Honeycomb',
calories: 408,
fat: 3.2,
Expand All @@ -152,7 +144,6 @@
iron: '45%'
},
{
value: false,
name: 'Donut',
calories: 452,
fat: 25.0,
Expand All @@ -163,7 +154,6 @@
iron: '22%'
},
{
value: false,
name: 'KitKat',
calories: 518,
fat: 26.0,
Expand Down
10 changes: 0 additions & 10 deletions packages/docs/src/examples/data-tables/customIcons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
],
desserts: [
{
value: false,
name: 'Frozen Yogurt',
calories: 159,
fat: 6.0,
Expand All @@ -46,7 +45,6 @@
iron: '1%'
},
{
value: false,
name: 'Ice cream sandwich',
calories: 237,
fat: 9.0,
Expand All @@ -55,7 +53,6 @@
iron: '1%'
},
{
value: false,
name: 'Eclair',
calories: 262,
fat: 16.0,
Expand All @@ -64,7 +61,6 @@
iron: '7%'
},
{
value: false,
name: 'Cupcake',
calories: 305,
fat: 3.7,
Expand All @@ -73,7 +69,6 @@
iron: '8%'
},
{
value: false,
name: 'Gingerbread',
calories: 356,
fat: 16.0,
Expand All @@ -82,7 +77,6 @@
iron: '16%'
},
{
value: false,
name: 'Jelly bean',
calories: 375,
fat: 0.0,
Expand All @@ -91,7 +85,6 @@
iron: '0%'
},
{
value: false,
name: 'Lollipop',
calories: 392,
fat: 0.2,
Expand All @@ -100,7 +93,6 @@
iron: '2%'
},
{
value: false,
name: 'Honeycomb',
calories: 408,
fat: 3.2,
Expand All @@ -109,7 +101,6 @@
iron: '45%'
},
{
value: false,
name: 'Donut',
calories: 452,
fat: 25.0,
Expand All @@ -118,7 +109,6 @@
iron: '22%'
},
{
value: false,
name: 'KitKat',
calories: 518,
fat: 26.0,
Expand Down
10 changes: 0 additions & 10 deletions packages/docs/src/examples/data-tables/editdialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
],
desserts: [
{
value: false,
name: 'Frozen Yogurt',
calories: 159,
fat: 6.0,
Expand All @@ -95,7 +94,6 @@
iron: '1%'
},
{
value: false,
name: 'Ice cream sandwich',
calories: 237,
fat: 9.0,
Expand All @@ -104,7 +102,6 @@
iron: '1%'
},
{
value: false,
name: 'Eclair',
calories: 262,
fat: 16.0,
Expand All @@ -113,7 +110,6 @@
iron: '7%'
},
{
value: false,
name: 'Cupcake',
calories: 305,
fat: 3.7,
Expand All @@ -122,7 +118,6 @@
iron: '8%'
},
{
value: false,
name: 'Gingerbread',
calories: 356,
fat: 16.0,
Expand All @@ -131,7 +126,6 @@
iron: '16%'
},
{
value: false,
name: 'Jelly bean',
calories: 375,
fat: 0.0,
Expand All @@ -140,7 +134,6 @@
iron: '0%'
},
{
value: false,
name: 'Lollipop',
calories: 392,
fat: 0.2,
Expand All @@ -149,7 +142,6 @@
iron: '2%'
},
{
value: false,
name: 'Honeycomb',
calories: 408,
fat: 3.2,
Expand All @@ -158,7 +150,6 @@
iron: '45%'
},
{
value: false,
name: 'Donut',
calories: 452,
fat: 25.0,
Expand All @@ -167,7 +158,6 @@
iron: '22%'
},
{
value: false,
name: 'KitKat',
calories: 518,
fat: 26.0,
Expand Down
10 changes: 0 additions & 10 deletions packages/docs/src/examples/data-tables/expand.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
],
desserts: [
{
value: false,
name: 'Frozen Yogurt',
calories: 159,
fat: 6.0,
Expand All @@ -61,7 +60,6 @@
iron: '1%'
},
{
value: false,
name: 'Ice cream sandwich',
calories: 237,
fat: 9.0,
Expand All @@ -70,7 +68,6 @@
iron: '1%'
},
{
value: false,
name: 'Eclair',
calories: 262,
fat: 16.0,
Expand All @@ -79,7 +76,6 @@
iron: '7%'
},
{
value: false,
name: 'Cupcake',
calories: 305,
fat: 3.7,
Expand All @@ -88,7 +84,6 @@
iron: '8%'
},
{
value: false,
name: 'Gingerbread',
calories: 356,
fat: 16.0,
Expand All @@ -97,7 +92,6 @@
iron: '16%'
},
{
value: false,
name: 'Jelly bean',
calories: 375,
fat: 0.0,
Expand All @@ -106,7 +100,6 @@
iron: '0%'
},
{
value: false,
name: 'Lollipop',
calories: 392,
fat: 0.2,
Expand All @@ -115,7 +108,6 @@
iron: '2%'
},
{
value: false,
name: 'Honeycomb',
calories: 408,
fat: 3.2,
Expand All @@ -124,7 +116,6 @@
iron: '45%'
},
{
value: false,
name: 'Donut',
calories: 452,
fat: 25.0,
Expand All @@ -133,7 +124,6 @@
iron: '22%'
},
{
value: false,
name: 'KitKat',
calories: 518,
fat: 26.0,
Expand Down

0 comments on commit 2cc7734

Please sign in to comment.