Fix formatting issues

parent 6a5952c4
<script>
import {s__} from '~/locale';
import { GlAlert, GlSprintf, GlLink } from '@gitlab/ui';
import { helpPagePath } from '~/helpers/help_page_helper';
import { s__ } from '~/locale';
export default {
components: {
......@@ -17,9 +17,9 @@ export default {
title: s__('DastProfiles|You cannot run an active scan against an unvalidated site.'),
primaryButtonText: s__('DastProfiles|Manage site profiles'),
message: s__(
'DastProfiles|You can either choose a passive scan or validate the target site from the site profile management page. %{docsLinkStart}Learn more about site validation.%{docsLinkEnd}',
)
}
'DastProfiles|You can either choose a passive scan or validate the target site from the site profile management page. %{docsLinkStart}Learn more about site validation.%{docsLinkEnd}',
),
},
};
</script>
......@@ -31,9 +31,7 @@ export default {
:primary-button-link="siteProfilesLibraryPath"
variant="danger"
>
<gl-sprintf
:message="$options.i18n.message"
>
<gl-sprintf :message="$options.i18n.message">
<template #docsLink="{ content }">
<gl-link :href="$options.dastSiteValidationDocsPath">{{ content }}</gl-link>
</template>
......
......@@ -11,8 +11,8 @@ describe('ProfileConflictAlert', () => {
GlSprintf,
},
provide: {
siteProfilesLibraryPath: '/dast_scans#site-profiles'
}
siteProfilesLibraryPath: '/dast_scans#site-profiles',
},
});
};
......
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