Commit 453d8240 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'jnnkl-gl-table-lite-vuln-over-time' into 'master'

Replace GlTable with GlTableLite for vulnerabilites over time

See merge request gitlab-org/gitlab!78529
parents fecef7f8 9b9c4939
<script>
import { GlTooltipDirective, GlTable, GlLoadingIcon } from '@gitlab/ui';
import { GlTooltipDirective, GlTableLite, GlLoadingIcon } from '@gitlab/ui';
import { GlSparklineChart } from '@gitlab/ui/dist/charts';
import { SEVERITY_LEVELS, DAYS } from 'ee/security_dashboard/store/constants';
import SeverityBadge from 'ee/vue_shared/security_reports/components/severity_badge.vue';
......@@ -23,7 +23,7 @@ export default {
components: {
ChartButtons,
GlSparklineChart,
GlTable,
GlTableLite,
GlLoadingIcon,
SeverityBadge,
},
......@@ -208,7 +208,7 @@ export default {
</div>
<gl-loading-icon v-if="isLoadingHistory" size="lg" class="gl-my-12" />
<gl-table
<gl-table-lite
v-else
:fields="$options.fields"
:items="charts"
......@@ -244,6 +244,6 @@ export default {
<template #cell(currentVulnerabilitiesCount)="{ value }">
<span ref="currentVulnerabilitiesCount">{{ value }}</span>
</template>
</gl-table>
</gl-table-lite>
</section>
</template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment