Skip to content

Commit

Permalink
fix(charts): remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRichel committed Apr 21, 2022
1 parent 328f8d5 commit c3589a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,6 @@ export default {
barsData: {
type: Array,
default: () => [],
// validator(value) {
// return value?.every(
// barData =>
// typeof barData?.color === "string" &&
// barData?.percentage <= 100 &&
// barData?.percentage >= 0
// );
// },
},
},
computed: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ export default {
barsData: {
type: Array,
default: () => [],
// validator(barsData) {
// return (
// barsData?.every(barData => typeof barData?.color === "string") &&
// barsData?.reduce((sum, barData) => sum + barData.percentage, "0") <=
// "100"
// );
// },
},
barDistanceFromCenter: {
type: Number,
Expand Down

0 comments on commit c3589a3

Please sign in to comment.