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