File tree Expand file tree Collapse file tree
resources/js/dashboard/components/widgets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 </MaybeInertiaLink >
3636 </CardHeader >
3737 </template >
38- <CardContent >
39- <Content class="content-sm text-sm" :html =" value .html " />
40- </CardContent >
38+ <template v-if =" value " >
39+ <CardContent >
40+ <Content class="content-sm text-sm" :html =" value .html " />
41+ </CardContent >
42+ </template >
4143 </Card >
4244</template >
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22 import { useApexCharts } from " @/dashboard/components/widgets/graph/useApexCharts" ;
3- import { computed , useTemplateRef } from " vue" ;
43 import { normalizeColor } from " @/dashboard/utils/chart" ;
54 import { GraphWidgetData } from " @/types" ;
65 import ApexChart from " vue3-apexcharts" ;
2726 },
2827 colors: value ?.datasets ?.map (dataset => normalizeColor (dataset .color )),
2928 dataLabels: {
30- enabled: false
29+ enabled: false ,
3130 },
3231 labels: value ?.labels ,
3332 legend: {
4342 },
4443 xaxis: {
4544 type: widget .dateLabels ? ' datetime' : ' category' ,
46-
4745 },
4846 yaxis: {
4947 show: ! widget .minimal ,
You can’t perform that action at this time.
0 commit comments