Changed the hardcoded ToDo for the first category name.
This commit is contained in:
parent
f0acbd0630
commit
e730de3887
@ -36,9 +36,6 @@ const props = defineProps({
|
||||
},
|
||||
});
|
||||
|
||||
//Constants
|
||||
//const categories = ["To-do", "Completed"];
|
||||
|
||||
//Reactive data
|
||||
const centerData = ref(null);
|
||||
const hoveredSegment = ref(null);
|
||||
@ -113,7 +110,7 @@ const updateCenterData = () => {
|
||||
};
|
||||
} else {
|
||||
centerData.value = {
|
||||
label: "To-do",
|
||||
label: props.categories.labels[0],
|
||||
value: todos,
|
||||
percentage: null,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user