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