cosey 0.3.12 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -123,6 +123,9 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
123
123
|
};
|
|
124
124
|
const flattedColumns = computed(() => flatColumns(props.columns));
|
|
125
125
|
const tableData = ref(props.data || []);
|
|
126
|
+
watch(() => props.data, () => {
|
|
127
|
+
tableData.value = props.data || [];
|
|
128
|
+
});
|
|
126
129
|
const tableDataWithSummary = computed(() => {
|
|
127
130
|
const columns = flattedColumns.value.map(column => {
|
|
128
131
|
return {
|