Commit 8f95de86 authored by lauraMon's avatar lauraMon

Replaces loading_button with gl-button

parent 304a69bb
...@@ -15,7 +15,6 @@ import { ...@@ -15,7 +15,6 @@ import {
GlDropdownDivider, GlDropdownDivider,
} from '@gitlab/ui'; } from '@gitlab/ui';
import { __, sprintf, n__ } from '~/locale'; import { __, sprintf, n__ } from '~/locale';
import LoadingButton from '~/vue_shared/components/loading_button.vue';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import TooltipOnTruncate from '~/vue_shared/components/tooltip_on_truncate.vue'; import TooltipOnTruncate from '~/vue_shared/components/tooltip_on_truncate.vue';
import Stacktrace from './stacktrace.vue'; import Stacktrace from './stacktrace.vue';
...@@ -28,7 +27,6 @@ import query from '../queries/details.query.graphql'; ...@@ -28,7 +27,6 @@ import query from '../queries/details.query.graphql';
export default { export default {
components: { components: {
LoadingButton,
GlButton, GlButton,
GlFormInput, GlFormInput,
GlLink, GlLink,
...@@ -234,19 +232,21 @@ export default { ...@@ -234,19 +232,21 @@ export default {
</div> </div>
<div class="error-details-actions"> <div class="error-details-actions">
<div class="d-inline-flex bv-d-sm-down-none"> <div class="d-inline-flex bv-d-sm-down-none">
<loading-button <gl-button
:label="ignoreBtnLabel"
:loading="updatingIgnoreStatus" :loading="updatingIgnoreStatus"
data-qa-selector="update_ignore_status_button" data-qa-selector="update_ignore_status_button"
@click="onIgnoreStatusUpdate" @click="onIgnoreStatusUpdate"
/> >
<loading-button {{ ignoreBtnLabel }}
</gl-button>
<gl-button
class="btn-outline-info ml-2" class="btn-outline-info ml-2"
:label="resolveBtnLabel"
:loading="updatingResolveStatus" :loading="updatingResolveStatus"
data-qa-selector="update_resolve_status_button" data-qa-selector="update_resolve_status_button"
@click="onResolveStatusUpdate" @click="onResolveStatusUpdate"
/> >
{{ resolveBtnLabel }}
</gl-button>
<gl-button <gl-button
v-if="error.gitlabIssuePath" v-if="error.gitlabIssuePath"
class="ml-2" class="ml-2"
...@@ -270,14 +270,15 @@ export default { ...@@ -270,14 +270,15 @@ export default {
name="issue[sentry_issue_attributes][sentry_issue_identifier]" name="issue[sentry_issue_attributes][sentry_issue_identifier]"
/> />
<gl-form-input :value="csrfToken" class="hidden" name="authenticity_token" /> <gl-form-input :value="csrfToken" class="hidden" name="authenticity_token" />
<loading-button <gl-button
v-if="!error.gitlabIssuePath" v-if="!error.gitlabIssuePath"
class="btn-success" class="btn-success"
:label="__('Create issue')"
:loading="issueCreationInProgress" :loading="issueCreationInProgress"
data-qa-selector="create_issue_button" data-qa-selector="create_issue_button"
@click="createIssue" @click="createIssue"
/> >
{{ __('Create issue') }}
</gl-button>
</form> </form>
</div> </div>
<gl-dropdown <gl-dropdown
......
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