Commit 8f892adf authored by Simon Knox's avatar Simon Knox

Merge branch '219893-remove-deprecated-button' into 'master'

Update gldeprecatedbutton to glbutton

Closes #219893

See merge request gitlab-org/gitlab!43207
parents 92b5274a 7458950a
<script>
import { mapActions, mapGetters } from 'vuex';
import { GlDeprecatedButton, GlFormSelect } from '@gitlab/ui';
import { GlButton, GlFormSelect } from '@gitlab/ui';
import { __, n__ } from '~/locale';
const REASON_NONE = __('[No reason]');
......@@ -10,7 +10,7 @@ const REASON_FALSE_POSITIVE = __('False positive');
export default {
name: 'SelectionSummary',
components: {
GlDeprecatedButton,
GlButton,
GlFormSelect,
},
data: () => ({
......@@ -61,9 +61,14 @@ export default {
class="mx-3 w-auto"
:options="$options.dismissalReasons"
/>
<gl-deprecated-button type="submit" variant="close" :disabled="!canDismissVulnerability">{{
__('Dismiss Selected')
}}</gl-deprecated-button>
<gl-button
type="submit"
category="secondary"
variant="warning"
:disabled="!canDismissVulnerability"
>
{{ __('Dismiss selected') }}
</gl-button>
</form>
</div>
</template>
---
title: Update Dismiss selected button on security dashboard
merge_request: 43207
author:
type: changed
......@@ -9066,10 +9066,10 @@ msgstr ""
msgid "Dismiss Merge Request promotion"
msgstr ""
msgid "Dismiss Selected"
msgid "Dismiss Value Stream Analytics introduction box"
msgstr ""
msgid "Dismiss Value Stream Analytics introduction box"
msgid "Dismiss selected"
msgstr ""
msgid "Dismiss trial promotion"
......
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