Commit 86327811 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '219865-board-deprecated-button' into 'master'

Migrate new board issue buttons to GlButton

Closes #219865

See merge request gitlab-org/gitlab!36357
parents e39fc789 497af5a4
<script>
import $ from 'jquery';
import { GlDeprecatedButton } from '@gitlab/ui';
import { GlButton } from '@gitlab/ui';
import { getMilestone } from 'ee_else_ce/boards/boards_util';
import ListIssue from 'ee_else_ce/boards/models/issue';
import eventHub from '../eventhub';
......@@ -11,7 +11,7 @@ export default {
name: 'BoardNewIssue',
components: {
ProjectSelect,
GlDeprecatedButton,
GlButton,
},
props: {
groupId: {
......@@ -120,21 +120,18 @@ export default {
/>
<project-select v-if="groupId" :group-id="groupId" :list="list" />
<div class="clearfix prepend-top-10">
<gl-deprecated-button
<gl-button
ref="submit-button"
:disabled="disabled"
class="float-left"
variant="success"
category="primary"
type="submit"
>{{ __('Submit issue') }}</gl-deprecated-button
>
<gl-deprecated-button
class="float-right"
type="button"
variant="default"
@click="cancel"
>{{ __('Cancel') }}</gl-deprecated-button
>{{ __('Submit issue') }}</gl-button
>
<gl-button class="float-right" type="button" variant="default" @click="cancel">{{
__('Cancel')
}}</gl-button>
</div>
</form>
</div>
......
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