Skip to content
Snippets Groups Projects

Make code quality badge in diff view link to modal

Merged Miranda Fluharty requested to merge 267612-make-code-quality-mr-diff-badge-a-link into master
All threads resolved!
4 files
+ 35
25
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -6,7 +6,7 @@
@@ -6,7 +6,7 @@
import { GlIcon, GlTooltipDirective } from '@gitlab/ui';
import { GlIcon, GlTooltipDirective } from '@gitlab/ui';
import { s__ } from '~/locale';
import { s__ } from '~/locale';
import ReportLink from '~/reports/components/report_link.vue';
import ReportLink from '~/reports/components/report_link.vue';
import { STATUS_SUCCESS } from '~/reports/constants';
import { STATUS_SUCCESS, STATUS_NEUTRAL } from '~/reports/constants';
import { SEVERITY_CLASSES, SEVERITY_ICONS } from '../constants';
import { SEVERITY_CLASSES, SEVERITY_ICONS } from '../constants';
export default {
export default {
@@ -21,7 +21,8 @@ export default {
@@ -21,7 +21,8 @@ export default {
props: {
props: {
status: {
status: {
type: String,
type: String,
required: true,
required: false,
 
default: STATUS_NEUTRAL,
},
},
issue: {
issue: {
type: Object,
type: Object,
Loading