Commit 1c5f4790 authored by Martin Wortschack's avatar Martin Wortschack

Replace fa-chevron-down with GitLab SVG

parent 1def732d
---
title: 'Feature flags form: Replace fa-chevron-down with GitLab SVG'
merge_request: 42968
author:
type: changed
......@@ -9,6 +9,7 @@ import {
GlFormTextarea,
GlFormCheckbox,
GlSprintf,
GlIcon,
} from '@gitlab/ui';
import Api from 'ee/api';
import RelatedIssuesRoot from '~/related_issues/components/related_issues_root.vue';
......@@ -37,6 +38,7 @@ export default {
GlFormCheckbox,
GlTooltip,
GlSprintf,
GlIcon,
ToggleButton,
EnvironmentsDropdown,
Strategy,
......@@ -461,7 +463,11 @@ export default {
{{ s__('FeatureFlags|User IDs') }}
</option>
</select>
<i aria-hidden="true" data-hidden="true" class="fa fa-chevron-down"></i>
<gl-icon
name="chevron-down"
class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500"
:size="16"
/>
</div>
<div
......@@ -500,9 +506,8 @@ export default {
<gl-form-checkbox
v-if="shouldDisplayIncludeUserIds(scope)"
v-model="scope.shouldIncludeUserIds"
>{{ s__('FeatureFlags|Include additional user IDs') }}</gl-form-checkbox
>
{{ s__('FeatureFlags|Include additional user IDs') }}
</gl-form-checkbox>
<template v-if="shouldDisplayUserIds(scope)">
<label :for="rolloutUserId(index)" class="mb-2">
{{ s__('FeatureFlags|User IDs') }}
......@@ -579,7 +584,11 @@ export default {
>
<option>{{ s__('FeatureFlags|All users') }}</option>
</select>
<i aria-hidden="true" data-hidden="true" class="fa fa-chevron-down"></i>
<gl-icon
name="chevron-down"
class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500"
:size="16"
/>
</div>
</div>
</div>
......@@ -597,9 +606,8 @@ export default {
variant="success"
class="js-ff-submit col-xs-12"
@click="handleSubmit"
>{{ submitText }}</gl-button
>
{{ submitText }}
</gl-button>
<gl-button :href="cancelPath" class="js-ff-cancel col-xs-12 float-right">
{{ __('Cancel') }}
</gl-button>
......
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