Skip to content

Commit 8b79a09

Browse files
authored
Merge pull request #976 from ercole-io/fix-bugs
Fix bugs
2 parents ae7901b + 4df32c7 commit 8b79a09

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

src/components/cloud/RecommendationsCharts.vue

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<section class="columns">
33
<BoxContent class="column" title="Category" border>
4-
<GhostLoading :isLoading="loadingTableStatus" setHeight="350">
4+
<GhostLoading :isLoading="loadingTableStatus" setHeight="300">
55
<ChartBuilder
66
chartType="pie"
77
chartID="category"
@@ -56,7 +56,7 @@
5656
</BoxContent>
5757

5858
<BoxContent class="column" title="Object Type" border>
59-
<GhostLoading :isLoading="loadingTableStatus" setHeight="350">
59+
<GhostLoading :isLoading="loadingTableStatus" setHeight="300">
6060
<ChartBuilder
6161
chartType="pie"
6262
chartID="objectType"
@@ -111,7 +111,7 @@
111111
</BoxContent>
112112

113113
<BoxContent class="column" title="Suggestion" border>
114-
<GhostLoading :isLoading="loadingTableStatus" setHeight="350">
114+
<GhostLoading :isLoading="loadingTableStatus" setHeight="300">
115115
<ChartBuilder
116116
chartType="pie"
117117
chartID="suggestion"
@@ -339,6 +339,18 @@ export default {
339339
show: true,
340340
width: 0.3,
341341
},
342+
noData: {
343+
text: 'Thare are no data!',
344+
align: 'center',
345+
verticalAlign: 'middle',
346+
offsetX: 0,
347+
offsetY: 0,
348+
style: {
349+
color: undefined,
350+
fontSize: '14px',
351+
fontFamily: undefined,
352+
},
353+
},
342354
}
343355
},
344356
},

src/components/dashboard/technologies/Technologie.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<div class="instances">
7070
<GhostLoading :isLoading="loading" setHeight="15" setWidth="15">
7171
<p
72-
v-if="!loading && tech.extra.prettyName !== 'Ercole'"
72+
v-if="!loading"
7373
:data-cy="`${getTechnology(tech.extra.prettyName)}-instances`"
7474
v-tooltip="options(`Instances: ${tech.instances}`)"
7575
>

src/store/modules/cloud/recommendations.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import _ from 'lodash'
22
import { bus } from '@/helpers/eventBus.js'
33
import { axiosRequest } from '@/services/services.js'
44
import formatDateTime from '@/filters/formatDateTime.js'
5-
// import awsData from '@/store/modules/cloud/aws-recommendations.json'
65

76
export const state = () => ({
87
cloudRecommendations: [],

src/store/modules/dashboard/dashboard.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ export const getters = {
111111
} else if (key === 'mongoDb') {
112112
order = 5
113113
product = 'MongoDB/MongoDB'
114+
} else if (key === 'mariaDb') {
115+
order = 6
116+
product = 'MariaDBFoundation/MariaDB'
114117
}
115118

116119
techArray.push({

0 commit comments

Comments
 (0)