Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9b9c4939
Commit
9b9c4939
authored
Jan 19, 2022
by
Jannik Lehmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace GlTable with GlTableLite for vulnerabilites over time
parent
347a44a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/app/assets/javascripts/security_dashboard/components/shared/vulnerabilities_over_time_chart.vue
...ard/components/shared/vulnerabilities_over_time_chart.vue
+4
-4
No files found.
ee/app/assets/javascripts/security_dashboard/components/shared/vulnerabilities_over_time_chart.vue
View file @
9b9c4939
<
script
>
<
script
>
import
{
GlTooltipDirective
,
GlTable
,
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
GlTooltipDirective
,
GlTable
Lite
,
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
GlSparklineChart
}
from
'
@gitlab/ui/dist/charts
'
;
import
{
GlSparklineChart
}
from
'
@gitlab/ui/dist/charts
'
;
import
{
SEVERITY_LEVELS
,
DAYS
}
from
'
ee/security_dashboard/store/constants
'
;
import
{
SEVERITY_LEVELS
,
DAYS
}
from
'
ee/security_dashboard/store/constants
'
;
import
SeverityBadge
from
'
ee/vue_shared/security_reports/components/severity_badge.vue
'
;
import
SeverityBadge
from
'
ee/vue_shared/security_reports/components/severity_badge.vue
'
;
...
@@ -23,7 +23,7 @@ export default {
...
@@ -23,7 +23,7 @@ export default {
components
:
{
components
:
{
ChartButtons
,
ChartButtons
,
GlSparklineChart
,
GlSparklineChart
,
GlTable
,
GlTable
Lite
,
GlLoadingIcon
,
GlLoadingIcon
,
SeverityBadge
,
SeverityBadge
,
},
},
...
@@ -208,7 +208,7 @@ export default {
...
@@ -208,7 +208,7 @@ export default {
</div>
</div>
<gl-loading-icon
v-if=
"isLoadingHistory"
size=
"lg"
class=
"gl-my-12"
/>
<gl-loading-icon
v-if=
"isLoadingHistory"
size=
"lg"
class=
"gl-my-12"
/>
<gl-table
<gl-table
-lite
v-else
v-else
:fields=
"$options.fields"
:fields=
"$options.fields"
:items=
"charts"
:items=
"charts"
...
@@ -244,6 +244,6 @@ export default {
...
@@ -244,6 +244,6 @@ export default {
<
template
#cell(currentVulnerabilitiesCount)=
"{ value }"
>
<
template
#cell(currentVulnerabilitiesCount)=
"{ value }"
>
<span
ref=
"currentVulnerabilitiesCount"
>
{{
value
}}
</span>
<span
ref=
"currentVulnerabilitiesCount"
>
{{
value
}}
</span>
</
template
>
</
template
>
</gl-table>
</gl-table
-lite
>
</section>
</section>
</template>
</template>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment