From 3f07a4484632487ecef1aa465802d02412f1a2f5 Mon Sep 17 00:00:00 2001 From: Sascha Eggenberger Date: Mon, 7 Aug 2023 16:17:52 +0200 Subject: [PATCH] Security approvals settings: Use GlCard Changelog: changed --- .../security_orchestration/policy_details.vue | 2 +- .../scan_result_policies.vue | 95 ++++++++++++------- 2 files changed, 60 insertions(+), 37 deletions(-) diff --git a/ee/app/assets/javascripts/approvals/components/security_orchestration/policy_details.vue b/ee/app/assets/javascripts/approvals/components/security_orchestration/policy_details.vue index d6d5b54c136ec7..a3d924fda7dab1 100644 --- a/ee/app/assets/javascripts/approvals/components/security_orchestration/policy_details.vue +++ b/ee/app/assets/javascripts/approvals/components/security_orchestration/policy_details.vue @@ -46,7 +46,7 @@ export default {
-import { GlLink, GlButton, GlFormGroup } from '@gitlab/ui'; +import { GlCard, GlLink, GlButton, GlIcon, GlFormGroup } from '@gitlab/ui'; import { mapActions, mapState } from 'vuex'; import { __, s__ } from '~/locale'; import { helpPagePath } from '~/helpers/help_page_helper'; @@ -19,10 +19,12 @@ export default { }, components: { Container, + GlCard, GlLink, GlButton, ScanResultPolicy, PolicyDetails, + GlIcon, GlFormGroup, }, inject: ['fullPath', 'newPolicyPath'], @@ -51,42 +53,63 @@ export default {