Commit 7429b0f1 authored by Clement Ho's avatar Clement Ho

Merge branch 'mg-upgrade-prettier-again-ee' into 'master'

Upgrade prettier to v1.15.3

See merge request gitlab-org/gitlab-ee!9126
parents 34ebb3ec 7cd460da
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
:disabled="badge.isDeleting" :disabled="badge.isDeleting"
class="btn btn-default append-right-8" class="btn btn-default append-right-8"
type="button" type="button"
@click="editBadge(badge);" @click="editBadge(badge)"
> >
<icon :size="16" :aria-label="__('Edit')" name="pencil" /> <icon :size="16" :aria-label="__('Edit')" name="pencil" />
</button> </button>
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
type="button" type="button"
data-toggle="modal" data-toggle="modal"
data-target="#delete-badge-modal" data-target="#delete-badge-modal"
@click="updateBadgeInModal(badge);" @click="updateBadgeInModal(badge)"
> >
<icon :size="16" :aria-label="__('Delete')" name="remove" /> <icon :size="16" :aria-label="__('Delete')" name="remove" />
</button> </button>
......
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
class="board-card" class="board-card"
@mousedown="mouseDown" @mousedown="mouseDown"
@mousemove="mouseMove" @mousemove="mouseMove"
@mouseup="showIssue($event);" @mouseup="showIssue($event)"
> >
<issue-card-inner <issue-card-inner
:list="list" :list="list"
......
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
<template> <template>
<div class="board-new-issue-form"> <div class="board-new-issue-form">
<div class="board-card"> <div class="board-card">
<form @submit="submit($event);"> <form @submit="submit($event)">
<div v-if="error" class="flash-container"> <div v-if="error" class="flash-container">
<div class="flash-alert">An error occurred. Please try again.</div> <div class="flash-alert">An error occurred. Please try again.</div>
</div> </div>
......
...@@ -186,7 +186,7 @@ export default { ...@@ -186,7 +186,7 @@ export default {
:title="label.description" :title="label.description"
class="badge color-label append-right-4 prepend-top-4" class="badge color-label append-right-4 prepend-top-4"
type="button" type="button"
@click="filterByLabel(label);" @click="filterByLabel(label)"
> >
{{ label.title }} {{ label.title }}
</button> </button>
...@@ -214,7 +214,7 @@ export default { ...@@ -214,7 +214,7 @@ export default {
/><issue-card-weight /><issue-card-weight
v-if="issue.weight" v-if="issue.weight"
:weight="issue.weight" :weight="issue.weight"
@click="filterByWeight(issue.weight);" @click="filterByWeight(issue.weight)"
/> />
</span> </span>
</div> </div>
......
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
v-if="activeTab === 'selected'" v-if="activeTab === 'selected'"
class="btn btn-default" class="btn btn-default"
type="button" type="button"
@click="changeTab('all');" @click="changeTab('all')"
> >
Open issues Open issues
</button> </button>
......
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
<span class="inline add-issues-footer-to-list"> to list </span> <span class="inline add-issues-footer-to-list"> to list </span>
<lists-dropdown /> <lists-dropdown />
</div> </div>
<button class="btn btn-default float-right" type="button" @click="toggleModal(false);"> <button class="btn btn-default float-right" type="button" @click="toggleModal(false)">
Cancel Cancel
</button> </button>
</footer> </footer>
......
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
class="close" class="close"
data-dismiss="modal" data-dismiss="modal"
aria-label="Close" aria-label="Close"
@click="toggleModal(false);" @click="toggleModal(false)"
> >
<span aria-hidden="true">×</span> <span aria-hidden="true">×</span>
</button> </button>
......
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
<div <div
:class="{ 'is-active': issue.selected }" :class="{ 'is-active': issue.selected }"
class="board-card" class="board-card"
@click="toggleIssue($event, issue);" @click="toggleIssue($event, issue)"
> >
<issue-card-inner :issue="issue" :issue-link-base="issueLinkBase" :root-path="rootPath" /> <issue-card-inner :issue="issue" :issue-link-base="issueLinkBase" :root-path="rootPath" />
<icon <icon
......
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
:class="{ 'is-active': list.id == selected.id }" :class="{ 'is-active': list.id == selected.id }"
href="#" href="#"
role="button" role="button"
@click.prevent="modal.selectedList = list;" @click.prevent="modal.selectedList = list"
> >
<span :style="{ backgroundColor: list.label.color }" class="dropdown-label-box"> </span> <span :style="{ backgroundColor: list.label.color }" class="dropdown-label-box"> </span>
{{ list.title }} {{ list.title }}
......
...@@ -21,12 +21,12 @@ export default { ...@@ -21,12 +21,12 @@ export default {
<div class="top-area prepend-top-10 append-bottom-10"> <div class="top-area prepend-top-10 append-bottom-10">
<ul class="nav-links issues-state-filters"> <ul class="nav-links issues-state-filters">
<li :class="{ active: activeTab == 'all' }"> <li :class="{ active: activeTab == 'all' }">
<a href="#" role="button" @click.prevent="changeTab('all');"> <a href="#" role="button" @click.prevent="changeTab('all')">
Open issues <span class="badge badge-pill"> {{ issuesCount }} </span> Open issues <span class="badge badge-pill"> {{ issuesCount }} </span>
</a> </a>
</li> </li>
<li :class="{ active: activeTab == 'selected' }"> <li :class="{ active: activeTab == 'selected' }">
<a href="#" role="button" @click.prevent="changeTab('selected');"> <a href="#" role="button" @click.prevent="changeTab('selected')">
Selected issues <span class="badge badge-pill"> {{ selectedCount }} </span> Selected issues <span class="badge badge-pill"> {{ selectedCount }} </span>
</a> </a>
</li> </li>
......
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
:save-button-title="__('Comment')" :save-button-title="__('Comment')"
class="diff-comment-form new-note discussion-form discussion-form-container" class="diff-comment-form new-note discussion-form discussion-form-container"
@handleFormUpdate="handleSaveNote" @handleFormUpdate="handleSaveNote"
@cancelForm="closeDiffFileCommentForm(diffFile.file_hash);" @cancelForm="closeDiffFileCommentForm(diffFile.file_hash)"
/> />
</div> </div>
</diff-viewer> </diff-viewer>
......
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
}" }"
type="button" type="button"
class="js-diff-notes-toggle" class="js-diff-notes-toggle"
@click="toggleDiscussion({ discussionId: discussion.id });" @click="toggleDiscussion({ discussionId: discussion.id })"
> >
<icon v-if="discussion.expanded" name="collapse" class="collapse-icon" /> <icon v-if="discussion.expanded" name="collapse" class="collapse-icon" />
<template v-else> <template v-else>
......
...@@ -145,7 +145,7 @@ export default { ...@@ -145,7 +145,7 @@ export default {
<div <div
ref="header" ref="header"
class="js-file-title file-title file-title-flex-parent" class="js-file-title file-title file-title-flex-parent"
@click="handleToggleFile($event, true);" @click="handleToggleFile($event, true)"
> >
<div class="file-header-content"> <div class="file-header-content">
<icon <icon
......
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
v-if="lineNumber" v-if="lineNumber"
:data-linenumber="lineNumber" :data-linenumber="lineNumber"
:href="lineHref" :href="lineHref"
@click="setHighlightedRow(lineCode);" @click="setHighlightedRow(lineCode)"
> >
</a> </a>
<diff-gutter-avatars v-if="shouldShowAvatarsOnGutter" :discussions="line.discussions" /> <diff-gutter-avatars v-if="shouldShowAvatarsOnGutter" :discussions="line.discussions" />
......
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
v-if="canComment" v-if="canComment"
type="button" type="button"
class="btn-transparent position-absolute image-diff-overlay-add-comment w-100 h-100 js-add-image-diff-note-button" class="btn-transparent position-absolute image-diff-overlay-add-comment w-100 h-100 js-add-image-diff-note-button"
@click="clickedImage($event.offsetX, $event.offsetY);" @click="clickedImage($event.offsetX, $event.offsetY)"
> >
<span class="sr-only"> {{ __('Add image comment') }} </span> <span class="sr-only"> {{ __('Add image comment') }} </span>
</button> </button>
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
:disabled="!shouldToggleDiscussion" :disabled="!shouldToggleDiscussion"
class="js-image-badge" class="js-image-badge"
type="button" type="button"
@click="toggleDiscussion({ discussionId: discussion.id });" @click="toggleDiscussion({ discussionId: discussion.id })"
> >
<icon v-if="showCommentIcon" name="image-comment-dark" /> <icon v-if="showCommentIcon" name="image-comment-dark" />
<template v-else> <template v-else>
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
:placeholder="s__('MergeRequest|Filter files')" :placeholder="s__('MergeRequest|Filter files')"
type="search" type="search"
class="form-control" class="form-control"
@focus="toggleFocusSearch(true);" @focus="toggleFocusSearch(true)"
@blur="blurSearch" @blur="blurSearch"
/> />
<button <button
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
}" }"
class="btn btn-default pt-0 pb-0 d-flex align-items-center" class="btn btn-default pt-0 pb-0 d-flex align-items-center"
type="button" type="button"
@click="toggleRenderTreeList(false);" @click="toggleRenderTreeList(false)"
> >
<icon name="hamburger" /> <icon name="hamburger" />
</button> </button>
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
}" }"
class="btn btn-default pt-0 pb-0 d-flex align-items-center" class="btn btn-default pt-0 pb-0 d-flex align-items-center"
type="button" type="button"
@click="toggleRenderTreeList(true);" @click="toggleRenderTreeList(true)"
> >
<icon name="file-tree" /> <icon name="file-tree" />
</button> </button>
......
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
:disabled="isActionDisabled(action)" :disabled="isActionDisabled(action)"
type="button" type="button"
class="js-manual-action-link no-btn btn d-flex align-items-center" class="js-manual-action-link no-btn btn d-flex align-items-center"
@click="onClickAction(action);" @click="onClickAction(action)"
> >
<span class="flex-fill"> {{ action.name }} </span> <span class="flex-fill"> {{ action.name }} </span>
<span v-if="action.scheduledAt" class="text-secondary"> <span v-if="action.scheduledAt" class="text-secondary">
......
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
<button <button
type="button" type="button"
class="filtered-search-history-dropdown-item" class="filtered-search-history-dropdown-item"
@click="onItemActivated(item.text);" @click="onItemActivated(item.text)"
> >
<span> <span>
<span <span
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
<button <button
type="button" type="button"
class="filtered-search-history-clear-button" class="filtered-search-history-clear-button"
@click="onRequestClearRecentSearches($event);" @click="onRequestClearRecentSearches($event)"
> >
Clear recent searches Clear recent searches
</button> </button>
......
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
data-placement="right" data-placement="right"
type="button" type="button"
class="ide-sidebar-link js-ide-edit-mode" class="ide-sidebar-link js-ide-edit-mode"
@click.prevent="changedActivityView($event, $options.activityBarViews.edit);" @click.prevent="changedActivityView($event, $options.activityBarViews.edit)"
> >
<icon name="code" /> <icon name="code" />
</button> </button>
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
data-placement="right" data-placement="right"
type="button" type="button"
class="ide-sidebar-link js-ide-review-mode" class="ide-sidebar-link js-ide-review-mode"
@click.prevent="changedActivityView($event, $options.activityBarViews.review);" @click.prevent="changedActivityView($event, $options.activityBarViews.review)"
> >
<icon name="file-modified" /> <icon name="file-modified" />
</button> </button>
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
data-placement="right" data-placement="right"
type="button" type="button"
class="ide-sidebar-link js-ide-commit-mode" class="ide-sidebar-link js-ide-commit-mode"
@click.prevent="changedActivityView($event, $options.activityBarViews.commit);" @click.prevent="changedActivityView($event, $options.activityBarViews.commit)"
> >
<icon name="commit" /> <icon name="commit" />
</button> </button>
......
...@@ -111,8 +111,8 @@ export default { ...@@ -111,8 +111,8 @@ export default {
name="commit-message" name="commit-message"
@scroll="handleScroll" @scroll="handleScroll"
@input="onInput" @input="onInput"
@focus="updateIsFocused(true);" @focus="updateIsFocused(true)"
@blur="updateIsFocused(false);" @blur="updateIsFocused(false)"
@keydown.ctrl.enter="onCtrlEnter" @keydown.ctrl.enter="onCtrlEnter"
@keydown.meta.enter="onCtrlEnter" @keydown.meta.enter="onCtrlEnter"
> >
......
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
:disabled="disabled" :disabled="disabled"
type="radio" type="radio"
name="commit-action" name="commit-action"
@change="updateCommitAction($event.target.value);" @change="updateCommitAction($event.target.value)"
/> />
<span class="prepend-left-10"> <span class="prepend-left-10">
<span v-if="label" class="ide-radio-label"> {{ label }} </span> <slot v-else></slot> <span v-if="label" class="ide-radio-label"> {{ label }} </span> <slot v-else></slot>
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
:placeholder="newBranchName" :placeholder="newBranchName"
type="text" type="text"
class="form-control monospace" class="form-control monospace"
@input="updateBranchName($event.target.value);" @input="updateBranchName($event.target.value)"
/> />
</div> </div>
</fieldset> </fieldset>
......
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
data-container="body" data-container="body"
data-boundary="viewport" data-boundary="viewport"
data-placement="bottom" data-placement="bottom"
@click.stop.prevent="stageChange(path);" @click.stop.prevent="stageChange(path)"
> >
<icon :size="16" name="mobile-issue-close" class="ml-auto mr-auto" /> <icon :size="16" name="mobile-issue-close" class="ml-auto mr-auto" />
</button> </button>
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
:header-title-text="modalTitle" :header-title-text="modalTitle"
:footer-primary-button-text="__('Discard changes')" :footer-primary-button-text="__('Discard changes')"
footer-primary-button-variant="danger" footer-primary-button-variant="danger"
@submit="discardFileChanges(path);" @submit="discardFileChanges(path)"
> >
{{ __("You will loose all changes you've made to this file. This action cannot be undone.") }} {{ __("You will loose all changes you've made to this file. This action cannot be undone.") }}
</gl-modal> </gl-modal>
......
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
data-container="body" data-container="body"
data-boundary="viewport" data-boundary="viewport"
data-placement="bottom" data-placement="bottom"
@click.stop.prevent="unstageChange(path);" @click.stop.prevent="unstageChange(path)"
> >
<icon :size="16" name="redo" class="ml-auto mr-auto" /> <icon :size="16" name="redo" class="ml-auto mr-auto" />
</button> </button>
......
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
'is-active': viewer === $options.viewerTypes.mr, 'is-active': viewer === $options.viewerTypes.mr,
}" }"
href="#" href="#"
@click.prevent="changeMode($options.viewerTypes.mr);" @click.prevent="changeMode($options.viewerTypes.mr)"
> >
<strong class="dropdown-menu-inner-title"> {{ mergeReviewLine }} </strong> <strong class="dropdown-menu-inner-title"> {{ mergeReviewLine }} </strong>
<span class="dropdown-menu-inner-content"> <span class="dropdown-menu-inner-content">
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
'is-active': viewer === $options.viewerTypes.diff, 'is-active': viewer === $options.viewerTypes.diff,
}" }"
href="#" href="#"
@click.prevent="changeMode($options.viewerTypes.diff);" @click.prevent="changeMode($options.viewerTypes.diff)"
> >
<strong class="dropdown-menu-inner-title">{{ __('Reviewing') }}</strong> <strong class="dropdown-menu-inner-title">{{ __('Reviewing') }}</strong>
<span class="dropdown-menu-inner-content"> <span class="dropdown-menu-inner-content">
......
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
</script> </script>
<template> <template>
<div class="ide-file-finder-overlay" @mousedown.self="toggleFileFinder(false);"> <div class="ide-file-finder-overlay" @mousedown.self="toggleFileFinder(false)">
<div class="dropdown-menu diff-file-changes ide-file-finder show"> <div class="dropdown-menu diff-file-changes ide-file-finder show">
<div class="dropdown-input"> <div class="dropdown-input">
<input <input
...@@ -174,8 +174,8 @@ export default { ...@@ -174,8 +174,8 @@ export default {
type="search" type="search"
class="dropdown-input-field" class="dropdown-input-field"
autocomplete="off" autocomplete="off"
@keydown="onKeydown($event);" @keydown="onKeydown($event)"
@keyup="onKeyup($event);" @keyup="onKeyup($event)"
/> />
<i <i
:class="{ :class="{
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
<gl-loading-icon v-if="showLoading" :size="2" /> <gl-loading-icon v-if="showLoading" :size="2" />
<ul v-else> <ul v-else>
<li v-for="(item, index) in outputData" :key="index"> <li v-for="(item, index) in outputData" :key="index">
<button type="button" @click="clickItem(item);">{{ item.name }}</button> <button type="button" @click="clickItem(item)">{{ item.name }}</button>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
<button <button
type="button" type="button"
class="p-0 border-0 h-50" class="p-0 border-0 h-50"
@click="openRightPane($options.rightSidebarViews.pipelines);" @click="openRightPane($options.rightSidebarViews.pipelines)"
> >
<ci-icon <ci-icon
v-tooltip v-tooltip
......
...@@ -43,7 +43,7 @@ export default { ...@@ -43,7 +43,7 @@ export default {
:show-label="false" :show-label="false"
class="d-flex border-0 p-0 mr-3 qa-new-file" class="d-flex border-0 p-0 mr-3 qa-new-file"
icon="doc-new" icon="doc-new"
@click="openNewEntryModal({ type: 'blob' });" @click="openNewEntryModal({ type: 'blob' })"
/> />
<upload <upload
:show-label="false" :show-label="false"
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
:show-label="false" :show-label="false"
class="d-flex border-0 p-0" class="d-flex border-0 p-0"
icon="folder-new" icon="folder-new"
@click="openNewEntryModal({ type: 'tree' });" @click="openNewEntryModal({ type: 'tree' })"
/> />
</div> </div>
</template> </template>
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
<template> <template>
<div class="ide-pipeline build-page d-flex flex-column flex-fill"> <div class="ide-pipeline build-page d-flex flex-column flex-fill">
<header class="ide-job-header d-flex align-items-center"> <header class="ide-job-header d-flex align-items-center">
<button class="btn btn-default btn-sm d-flex" @click="setDetailJob(null);"> <button class="btn btn-default btn-sm d-flex" @click="setDetailJob(null)">
<icon name="chevron-left" /> {{ __('View jobs') }} <icon name="chevron-left" /> {{ __('View jobs') }}
</button> </button>
</header> </header>
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
:placeholder="__('Search merge requests')" :placeholder="__('Search merge requests')"
@focus="onSearchFocus" @focus="onSearchFocus"
@input="searchMergeRequests" @input="searchMergeRequests"
@removeToken="setSearchType(null);" @removeToken="setSearchType(null)"
/> />
<icon :size="18" name="search" class="input-icon" /> <icon :size="18" name="search" class="input-icon" />
</div> </div>
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
<button <button
type="button" type="button"
class="btn-link d-flex align-items-center" class="btn-link d-flex align-items-center"
@click.stop="setSearchType(searchType);" @click.stop="setSearchType(searchType)"
> >
<span class="d-flex append-right-default ide-search-list-current-icon"> <span class="d-flex append-right-default ide-search-list-current-icon">
<icon :size="18" name="search" /> <icon :size="18" name="search" />
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
:aria-label="__('Create new file or directory')" :aria-label="__('Create new file or directory')"
type="button" type="button"
class="rounded border-0 d-flex ide-entry-dropdown-toggle" class="rounded border-0 d-flex ide-entry-dropdown-toggle"
@click.stop="openDropdown();" @click.stop="openDropdown()"
> >
<icon name="ellipsis_v" /> <icon name="arrow-down" /> <icon name="ellipsis_v" /> <icon name="arrow-down" />
</button> </button>
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
class="d-flex" class="d-flex"
icon="doc-new" icon="doc-new"
icon-classes="mr-2" icon-classes="mr-2"
@click="createNewItem('blob');" @click="createNewItem('blob')"
/> />
</li> </li>
<li><upload :path="path" @create="createTempEntry" /></li> <li><upload :path="path" @create="createTempEntry" /></li>
...@@ -95,7 +95,7 @@ export default { ...@@ -95,7 +95,7 @@ export default {
class="d-flex" class="d-flex"
icon="folder-new" icon="folder-new"
icon-classes="mr-2" icon-classes="mr-2"
@click="createNewItem($options.modalTypes.tree);" @click="createNewItem($options.modalTypes.tree)"
/> />
</li> </li>
<li class="divider"></li> <li class="divider"></li>
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
class="d-flex" class="d-flex"
icon="pencil" icon="pencil"
icon-classes="mr-2" icon-classes="mr-2"
@click="createNewItem($options.modalTypes.rename);" @click="createNewItem($options.modalTypes.rename)"
/> />
</li> </li>
<li> <li>
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
class="d-flex" class="d-flex"
icon="remove" icon="remove"
icon-classes="mr-2" icon-classes="mr-2"
@click="deleteEntry(path);" @click="deleteEntry(path)"
/> />
</li> </li>
</ul> </ul>
......
...@@ -114,7 +114,7 @@ export default { ...@@ -114,7 +114,7 @@ export default {
<button <button
type="button" type="button"
class="btn btn-missing p-1 pr-2 pl-2" class="btn btn-missing p-1 pr-2 pl-2"
@click="createFromTemplate(template);" @click="createFromTemplate(template)"
> >
{{ template.name }} {{ template.name }}
</button> </button>
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
data-placement="left" data-placement="left"
class="ide-sidebar-link is-right" class="ide-sidebar-link is-right"
type="button" type="button"
@click="clickTab($event, tab);" @click="clickTab($event, tab)"
> >
<icon :size="16" :name="tab.icon" /> <icon :size="16" :name="tab.icon" />
</button> </button>
......
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
<a <a
href="javascript:void(0);" href="javascript:void(0);"
role="button" role="button"
@click.prevent="setFileViewMode({ file, viewMode: 'editor' });" @click.prevent="setFileViewMode({ file, viewMode: 'editor' })"
> >
<template v-if="viewer === $options.viewerTypes.edit"> <template v-if="viewer === $options.viewerTypes.edit">
{{ __('Edit') }} {{ __('Edit') }}
...@@ -233,7 +233,7 @@ export default { ...@@ -233,7 +233,7 @@ export default {
<a <a
href="javascript:void(0);" href="javascript:void(0);"
role="button" role="button"
@click.prevent="setFileViewMode({ file, viewMode: 'preview' });" @click.prevent="setFileViewMode({ file, viewMode: 'preview' })"
> >
{{ file.previewMode.previewTitle }} {{ file.previewMode.previewTitle }}
</a> </a>
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
active: tab.active, active: tab.active,
disabled: tab.pending, disabled: tab.pending,
}" }"
@click="clickFile(tab);" @click="clickFile(tab)"
@mouseover="mouseOverTab" @mouseover="mouseOverTab"
@mouseout="mouseOutTab" @mouseout="mouseOutTab"
> >
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
:disabled="tab.pending" :disabled="tab.pending"
type="button" type="button"
class="multi-file-tab-close" class="multi-file-tab-close"
@click.stop.prevent="closeFile(tab);" @click.stop.prevent="closeFile(tab)"
> >
<icon v-if="!showChangedIcon" :size="12" name="close" /> <icon v-if="!showChangedIcon" :size="12" name="close" />
<changed-file-icon v-else :file="tab" /> <changed-file-icon v-else :file="tab" />
......
...@@ -78,8 +78,8 @@ export default { ...@@ -78,8 +78,8 @@ export default {
:min-size="minSize" :min-size="minSize"
:max-size="$options.maxSize" :max-size="$options.maxSize"
:side="side === 'right' ? 'left' : 'right'" :side="side === 'right' ? 'left' : 'right'"
@resize-start="setResizingStatus(true);" @resize-start="setResizingStatus(true)"
@resize-end="setResizingStatus(false);" @resize-end="setResizingStatus(false)"
/> />
</div> </div>
</template> </template>
...@@ -76,8 +76,8 @@ export default { ...@@ -76,8 +76,8 @@ export default {
<button <button
class="selectable btn-blank" class="selectable btn-blank"
type="button" type="button"
@click.stop="removeToken(token);" @click.stop="removeToken(token)"
@keyup.delete="removeToken(token);" @keyup.delete="removeToken(token)"
> >
<div class="value-container rounded"> <div class="value-container rounded">
<div class="value">{{ token.label }}</div> <div class="value">{{ token.label }}</div>
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li v-for="stage in stages" :key="stage.name"> <li v-for="stage in stages" :key="stage.name">
<button type="button" class="js-stage-item stage-item" @click="onStageClick(stage);"> <button type="button" class="js-stage-item stage-item" @click="onStageClick(stage)">
{{ stage.name }} {{ stage.name }}
</button> </button>
</li> </li>
......
...@@ -257,8 +257,8 @@ export default { ...@@ -257,8 +257,8 @@ export default {
<template> <template>
<div <div
class="prometheus-graph" class="prometheus-graph"
@mouseover="showFlagContent = true;" @mouseover="showFlagContent = true"
@mouseleave="showFlagContent = false;" @mouseleave="showFlagContent = false"
> >
<div class="prometheus-graph-header"> <div class="prometheus-graph-header">
<h5 class="prometheus-graph-title">{{ graphData.title }}</h5> <h5 class="prometheus-graph-title">{{ graphData.title }}</h5>
...@@ -300,7 +300,7 @@ export default { ...@@ -300,7 +300,7 @@ export default {
:height="graphHeight - 100" :height="graphHeight - 100"
class="prometheus-graph-overlay" class="prometheus-graph-overlay"
transform="translate(-5, 20)" transform="translate(-5, 20)"
@mousemove="handleMouseOverGraph($event);" @mousemove="handleMouseOverGraph($event)"
/> />
</svg> </svg>
<svg v-else :viewBox="innerViewBox" class="js-no-data-to-display"> <svg v-else :viewBox="innerViewBox" class="js-no-data-to-display">
......
...@@ -357,9 +357,9 @@ js-gfm-input js-autosize markdown-area js-vue-textarea qa-comment-input" ...@@ -357,9 +357,9 @@ js-gfm-input js-autosize markdown-area js-vue-textarea qa-comment-input"
data-supports-quick-actions="true" data-supports-quick-actions="true"
aria-label="Description" aria-label="Description"
placeholder="Write a comment or drag your files here…" placeholder="Write a comment or drag your files here…"
@keydown.up="editCurrentUserLastNote();" @keydown.up="editCurrentUserLastNote()"
@keydown.meta.enter="handleSave();" @keydown.meta.enter="handleSave()"
@keydown.ctrl.enter="handleSave();" @keydown.ctrl.enter="handleSave()"
> >
</textarea> </textarea>
</markdown-field> </markdown-field>
...@@ -373,7 +373,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown" ...@@ -373,7 +373,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
class="btn btn-success js-comment-button js-comment-submit-button class="btn btn-success js-comment-button js-comment-submit-button
qa-comment-button" qa-comment-button"
type="submit" type="submit"
@click.prevent="handleSave();" @click.prevent="handleSave()"
> >
{{ __(commentButtonTitle) }} {{ __(commentButtonTitle) }}
</button> </button>
...@@ -394,7 +394,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown" ...@@ -394,7 +394,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
<button <button
type="button" type="button"
class="btn btn-transparent" class="btn btn-transparent"
@click.prevent="setNoteType('comment');" @click.prevent="setNoteType('comment')"
> >
<i aria-hidden="true" class="fa fa-check icon"> </i> <i aria-hidden="true" class="fa fa-check icon"> </i>
<div class="description"> <div class="description">
...@@ -408,7 +408,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown" ...@@ -408,7 +408,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
<button <button
type="button" type="button"
class="btn btn-transparent qa-discussion-option" class="btn btn-transparent qa-discussion-option"
@click.prevent="setNoteType('discussion');" @click.prevent="setNoteType('discussion')"
> >
<i aria-hidden="true" class="fa fa-check icon"> </i> <i aria-hidden="true" class="fa fa-check icon"> </i>
<div class="description"> <div class="description">
...@@ -429,7 +429,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown" ...@@ -429,7 +429,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
]" ]"
:disabled="isToggleStateButtonLoading || isSubmitting" :disabled="isToggleStateButtonLoading || isSubmitting"
:label="issueActionButtonTitle" :label="issueActionButtonTitle"
@click="handleSave(true);" @click="handleSave(true)"
/> />
</div> </div>
</form> </form>
......
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
:class="{ 'is-active': filter.value === currentValue }" :class="{ 'is-active': filter.value === currentValue }"
class="qa-filter-options" class="qa-filter-options"
type="button" type="button"
@click="selectFilter(filter.value);" @click="selectFilter(filter.value)"
> >
{{ filter.title }} {{ filter.title }}
</button> </button>
......
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
data-placement="bottom" data-placement="bottom"
class="btn award-control" class="btn award-control"
type="button" type="button"
@click="handleAward(awardName);" @click="handleAward(awardName)"
> >
<span v-html="getAwardHTML(awardName)"></span> <span v-html="getAwardHTML(awardName)"></span>
<span class="award-control-text js-counter">{{ awardList.length }}</span> <span class="award-control-text js-counter">{{ awardList.length }}</span>
......
...@@ -230,10 +230,10 @@ export default { ...@@ -230,10 +230,10 @@ export default {
class="note-textarea js-gfm-input js-note-text js-autosize markdown-area js-vue-issue-note-form js-vue-textarea qa-reply-input" class="note-textarea js-gfm-input js-note-text js-autosize markdown-area js-vue-issue-note-form js-vue-textarea qa-reply-input"
aria-label="Description" aria-label="Description"
placeholder="Write a comment or drag your files here…" placeholder="Write a comment or drag your files here…"
@keydown.meta.enter="handleKeySubmit();" @keydown.meta.enter="handleKeySubmit()"
@keydown.ctrl.enter="handleKeySubmit();" @keydown.ctrl.enter="handleKeySubmit()"
@keydown.up="editMyLastNote();" @keydown.up="editMyLastNote()"
@keydown.esc="cancelHandler(true);" @keydown.esc="cancelHandler(true)"
></textarea> ></textarea>
</markdown-field> </markdown-field>
<div class="note-form-actions clearfix"> <div class="note-form-actions clearfix">
...@@ -267,14 +267,14 @@ export default { ...@@ -267,14 +267,14 @@ export default {
:disabled="isDisabled" :disabled="isDisabled"
type="button" type="button"
class="btn qa-comment-now" class="btn qa-comment-now"
@click="handleUpdate();" @click="handleUpdate()"
> >
{{ __('Add comment now') }} {{ __('Add comment now') }}
</button> </button>
<button <button
class="btn btn-cancel note-edit-cancel js-close-discussion-note-form" class="btn btn-cancel note-edit-cancel js-close-discussion-note-form"
type="button" type="button"
@click="cancelHandler();" @click="cancelHandler()"
> >
{{ __('Cancel') }} {{ __('Cancel') }}
</button> </button>
...@@ -284,21 +284,21 @@ export default { ...@@ -284,21 +284,21 @@ export default {
:disabled="isDisabled" :disabled="isDisabled"
type="button" type="button"
class="js-vue-issue-save btn btn-success js-comment-button qa-reply-comment-button" class="js-vue-issue-save btn btn-success js-comment-button qa-reply-comment-button"
@click="handleUpdate();" @click="handleUpdate()"
> >
{{ saveButtonTitle }} {{ saveButtonTitle }}
</button> </button>
<button <button
v-if="discussion.resolvable" v-if="discussion.resolvable"
class="btn btn-nr btn-default append-right-10 js-comment-resolve-button" class="btn btn-nr btn-default append-right-10 js-comment-resolve-button"
@click.prevent="handleUpdate(true);" @click.prevent="handleUpdate(true)"
> >
{{ resolveButtonTitle }} {{ resolveButtonTitle }}
</button> </button>
<button <button
class="btn btn-cancel note-edit-cancel js-close-discussion-note-form" class="btn btn-cancel note-edit-cancel js-close-discussion-note-form"
type="button" type="button"
@click="cancelHandler();" @click="cancelHandler()"
> >
Cancel Cancel
</button> </button>
......
...@@ -455,7 +455,7 @@ Please check your network connection and try again.`; ...@@ -455,7 +455,7 @@ Please check your network connection and try again.`;
<button <button
type="button" type="button"
class="btn btn-default ml-sm-2" class="btn btn-default ml-sm-2"
@click="resolveHandler();" @click="resolveHandler()"
> >
<i v-if="isResolving" aria-hidden="true" class="fa fa-spinner fa-spin"></i> <i v-if="isResolving" aria-hidden="true" class="fa fa-spinner fa-spin"></i>
{{ resolveButtonTitle }} {{ resolveButtonTitle }}
......
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
:checked="isEditable" :checked="isEditable"
class="label-bold" class="label-bold"
type="radio" type="radio"
@click="toggleCustomInput(true);" @click="toggleCustomInput(true)"
/> />
<label for="custom"> {{ s__('PipelineSheduleIntervalPattern|Custom') }} </label> <label for="custom"> {{ s__('PipelineSheduleIntervalPattern|Custom') }} </label>
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
:value="cronIntervalPresets.everyDay" :value="cronIntervalPresets.everyDay"
class="label-bold" class="label-bold"
type="radio" type="radio"
@click="toggleCustomInput(false);" @click="toggleCustomInput(false)"
/> />
<label class="label-bold" for="every-day"> {{ __('Every day (at 4:00am)') }} </label> <label class="label-bold" for="every-day"> {{ __('Every day (at 4:00am)') }} </label>
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
:value="cronIntervalPresets.everyWeek" :value="cronIntervalPresets.everyWeek"
class="label-bold" class="label-bold"
type="radio" type="radio"
@click="toggleCustomInput(false);" @click="toggleCustomInput(false)"
/> />
<label class="label-bold" for="every-week"> <label class="label-bold" for="every-week">
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
:value="cronIntervalPresets.everyMonth" :value="cronIntervalPresets.everyMonth"
class="label-bold" class="label-bold"
type="radio" type="radio"
@click="toggleCustomInput(false);" @click="toggleCustomInput(false)"
/> />
<label class="label-bold" for="every-month"> <label class="label-bold" for="every-month">
......
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
:class="{ disabled: isActionDisabled(action) }" :class="{ disabled: isActionDisabled(action) }"
:disabled="isActionDisabled(action)" :disabled="isActionDisabled(action)"
class="js-pipeline-action-link no-btn btn" class="js-pipeline-action-link no-btn btn"
@click="onClickAction(action);" @click="onClickAction(action)"
> >
{{ action.name }} {{ action.name }}
<span v-if="action.scheduled_at" class="pull-right"> <span v-if="action.scheduled_at" class="pull-right">
......
...@@ -108,9 +108,7 @@ export default { ...@@ -108,9 +108,7 @@ export default {
</span> </span>
</li> </li>
<li v-for="result in results" :key="result.id"> <li v-for="result in results" :key="result.id">
<button type="button" @click.prevent="setItem(result.name);"> <button type="button" @click.prevent="setItem(result.name)">{{ result.name }}</button>
{{ result.name }}
</button>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
</span> </span>
</li> </li>
<li v-for="result in results" :key="result.project_number"> <li v-for="result in results" :key="result.project_number">
<button type="button" @click.prevent="setItem(result);">{{ result.name }}</button> <button type="button" @click.prevent="setItem(result)">{{ result.name }}</button>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -82,9 +82,7 @@ export default { ...@@ -82,9 +82,7 @@ export default {
</span> </span>
</li> </li>
<li v-for="result in results" :key="result.id"> <li v-for="result in results" :key="result.id">
<button type="button" @click.prevent="setItem(result.name);"> <button type="button" @click.prevent="setItem(result.name)">{{ result.name }}</button>
{{ result.name }}
</button>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
:aria-label="s__('ContainerRegistry|Remove tag')" :aria-label="s__('ContainerRegistry|Remove tag')"
variant="danger" variant="danger"
class="js-delete-registry d-none d-sm-block float-right" class="js-delete-registry d-none d-sm-block float-right"
@click="handleDeleteRegistry(item);" @click="handleDeleteRegistry(item)"
> >
<icon name="remove" /> <icon name="remove" />
</gl-button> </gl-button>
......
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
<button <button
type="button" type="button"
class="btn-link btn-blank text-left break-link vulnerability-name-button" class="btn-link btn-blank text-left break-link vulnerability-name-button"
@click="handleIssueClick();" @click="handleIssueClick()"
> >
{{ issue.title }} {{ issue.title }}
</button> </button>
......
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
<button <button
type="button" type="button"
class="btn-link btn-blank text-left break-link vulnerability-name-button" class="btn-link btn-blank text-left break-link vulnerability-name-button"
@click="openModal({ issue });" @click="openModal({ issue })"
> >
<div v-if="isNew" class="badge badge-danger append-right-5">{{ s__('New') }}</div> <div v-if="isNew" class="badge badge-danger append-right-5">{{ s__('New') }}</div>
{{ issue.name }} {{ issue.name }}
......
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
name="button" name="button"
type="button" type="button"
class="js-clear-user-status-button clear-user-status btn" class="js-clear-user-status-button clear-user-status btn"
@click="clearStatusInputs();" @click="clearStatusInputs()"
> >
<icon name="close" /> <icon name="close" />
</button> </button>
......
...@@ -102,13 +102,13 @@ export default { ...@@ -102,13 +102,13 @@ export default {
/> />
<div class="title hide-collapsed"> <div class="title hide-collapsed">
{{ __('Time tracking') }} {{ __('Time tracking') }}
<div v-if="!showHelpState" class="help-button float-right" @click="toggleHelpState(true);"> <div v-if="!showHelpState" class="help-button float-right" @click="toggleHelpState(true)">
<i class="fa fa-question-circle" aria-hidden="true"> </i> <i class="fa fa-question-circle" aria-hidden="true"> </i>
</div> </div>
<div <div
v-if="showHelpState" v-if="showHelpState"
class="close-help-button float-right" class="close-help-button float-right"
@click="toggleHelpState(false);" @click="toggleHelpState(false)"
> >
<i class="fa fa-close" aria-hidden="true"> </i> <i class="fa fa-close" aria-hidden="true"> </i>
</div> </div>
......
...@@ -245,7 +245,7 @@ export default { ...@@ -245,7 +245,7 @@ export default {
:class="mergeButtonClass" :class="mergeButtonClass"
type="button" type="button"
class="qa-merge-button" class="qa-merge-button"
@click="handleMergeButtonClick();" @click="handleMergeButtonClick()"
> >
<i v-if="isMakingRequest" class="fa fa-spinner fa-spin" aria-hidden="true"></i> <i v-if="isMakingRequest" class="fa fa-spinner fa-spin" aria-hidden="true"></i>
{{ mergeButtonText }} {{ mergeButtonText }}
...@@ -269,7 +269,7 @@ export default { ...@@ -269,7 +269,7 @@ export default {
<a <a
class="merge_when_pipeline_succeeds qa-merge-when-pipeline-succeeds-option" class="merge_when_pipeline_succeeds qa-merge-when-pipeline-succeeds-option"
href="#" href="#"
@click.prevent="handleMergeButtonClick(true);" @click.prevent="handleMergeButtonClick(true)"
> >
<span class="media"> <span class="media">
<span class="merge-opt-icon" aria-hidden="true" v-html="successSvg"></span> <span class="merge-opt-icon" aria-hidden="true" v-html="successSvg"></span>
...@@ -281,7 +281,7 @@ export default { ...@@ -281,7 +281,7 @@ export default {
<a <a
class="accept-merge-request qa-merge-immediately-option" class="accept-merge-request qa-merge-immediately-option"
href="#" href="#"
@click.prevent="handleMergeButtonClick(false, true);" @click.prevent="handleMergeButtonClick(false, true)"
> >
<span class="media"> <span class="media">
<span class="merge-opt-icon" aria-hidden="true" v-html="warningSvg"></span> <span class="merge-opt-icon" aria-hidden="true" v-html="warningSvg"></span>
......
...@@ -293,8 +293,8 @@ export default { ...@@ -293,8 +293,8 @@ export default {
:title="setTooltipTitle(data)" :title="setTooltipTitle(data)"
class="bar-rect" class="bar-rect"
data-placement="top" data-placement="top"
@mouseover="barHoveredIn(index);" @mouseover="barHoveredIn(index)"
@mouseout="barHoveredOut(index);" @mouseout="barHoveredOut(index)"
/> />
</template> </template>
</g> </g>
......
...@@ -95,7 +95,7 @@ export default { ...@@ -95,7 +95,7 @@ export default {
class="close float-right" class="close float-right"
data-dismiss="modal" data-dismiss="modal"
aria-label="Close" aria-label="Close"
@click="emitCancel($event);" @click="emitCancel($event)"
> >
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
type="button" type="button"
class="btn" class="btn"
data-dismiss="modal" data-dismiss="modal"
@click="emitCancel($event);" @click="emitCancel($event)"
> >
{{ closeButtonLabel }} {{ closeButtonLabel }}
</button> </button>
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
type="button" type="button"
class="btn js-primary-button" class="btn js-primary-button"
data-dismiss="modal" data-dismiss="modal"
@click="emitSubmit($event);" @click="emitSubmit($event)"
> >
{{ primaryButtonLabel }} {{ primaryButtonLabel }}
</button> </button>
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
:class="{ :class="{
active: mode === $options.imageViewMode.twoup, active: mode === $options.imageViewMode.twoup,
}" }"
@click="changeMode($options.imageViewMode.twoup);" @click="changeMode($options.imageViewMode.twoup)"
> >
{{ s__('ImageDiffViewer|2-up') }} {{ s__('ImageDiffViewer|2-up') }}
</li> </li>
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
:class="{ :class="{
active: mode === $options.imageViewMode.swipe, active: mode === $options.imageViewMode.swipe,
}" }"
@click="changeMode($options.imageViewMode.swipe);" @click="changeMode($options.imageViewMode.swipe)"
> >
{{ s__('ImageDiffViewer|Swipe') }} {{ s__('ImageDiffViewer|Swipe') }}
</li> </li>
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
:class="{ :class="{
active: mode === $options.imageViewMode.onion, active: mode === $options.imageViewMode.onion,
}" }"
@click="changeMode($options.imageViewMode.onion);" @click="changeMode($options.imageViewMode.onion)"
> >
{{ s__('ImageDiffViewer|Onion skin') }} {{ s__('ImageDiffViewer|Onion skin') }}
</li> </li>
......
...@@ -139,8 +139,8 @@ export default { ...@@ -139,8 +139,8 @@ export default {
class="file-row" class="file-row"
role="button" role="button"
@click="clickFile" @click="clickFile"
@mouseover="toggleHover(true);" @mouseover="toggleHover(true)"
@mouseout="toggleHover(false);" @mouseout="toggleHover(false)"
> >
<div class="file-row-name-container"> <div class="file-row-name-container">
<span ref="textOutput" :style="levelIndentation" class="file-row-name str-truncated"> <span ref="textOutput" :style="levelIndentation" class="file-row-name str-truncated">
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
type="button" type="button"
class="close js-modal-close-action" class="close js-modal-close-action"
data-dismiss="modal" data-dismiss="modal"
@click="emitCancel($event);" @click="emitCancel($event)"
> >
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
type="button" type="button"
class="btn js-modal-cancel-action qa-modal-cancel-button" class="btn js-modal-cancel-action qa-modal-cancel-button"
data-dismiss="modal" data-dismiss="modal"
@click="emitCancel($event);" @click="emitCancel($event)"
> >
{{ s__('Modal|Cancel') }} {{ s__('Modal|Cancel') }}
</button> </button>
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
type="button" type="button"
class="btn js-modal-primary-action qa-modal-primary-button" class="btn js-modal-primary-action qa-modal-primary-button"
data-dismiss="modal" data-dismiss="modal"
@click="emitSubmit($event);" @click="emitSubmit($event)"
> >
{{ footerPrimaryButtonText }} {{ footerPrimaryButtonText }}
</button> </button>
......
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
:class="action.cssClass" :class="action.cssClass"
container-class="d-inline" container-class="d-inline"
:label="action.label" :label="action.label"
@click="onClickAction(action);" @click="onClickAction(action)"
/> />
</template> </template>
</section> </section>
......
...@@ -78,12 +78,7 @@ export default { ...@@ -78,12 +78,7 @@ export default {
<div class="md-header"> <div class="md-header">
<ul class="nav-links clearfix"> <ul class="nav-links clearfix">
<li :class="{ active: !previewMarkdown }" class="md-header-tab"> <li :class="{ active: !previewMarkdown }" class="md-header-tab">
<button <button class="js-write-link" tabindex="-1" type="button" @click="writeMarkdownTab($event)">
class="js-write-link"
tabindex="-1"
type="button"
@click="writeMarkdownTab($event);"
>
Write Write
</button> </button>
</li> </li>
...@@ -92,7 +87,7 @@ export default { ...@@ -92,7 +87,7 @@ export default {
class="js-preview-link js-md-preview-button" class="js-preview-link js-md-preview-button"
tabindex="-1" tabindex="-1"
type="button" type="button"
@click="previewMarkdownTab($event);" @click="previewMarkdownTab($event)"
> >
Preview Preview
</button> </button>
......
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
active: tab.isActive, active: tab.isActive,
}" }"
> >
<a :class="`js-${scope}-tab-${tab.scope}`" role="button" @click="onTabClick(tab);"> <a :class="`js-${scope}-tab-${tab.scope}`" role="button" @click="onTabClick(tab)">
{{ tab.name }} {{ tab.name }}
<span v-if="shouldRenderBadge(tab.count)" class="badge badge-pill"> {{ tab.count }} </span> <span v-if="shouldRenderBadge(tab.count)" class="badge badge-pill"> {{ tab.count }} </span>
......
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
v-html="note.note_html" v-html="note.note_html"
></div> ></div>
<div v-if="hasMoreCommits" class="flex-list"> <div v-if="hasMoreCommits" class="flex-list">
<div class="system-note-commit-list-toggler flex-row" @click="expanded = !expanded;"> <div class="system-note-commit-list-toggler flex-row" @click="expanded = !expanded">
<icon :name="toggleIcon" :size="8" class="append-right-5" /> <icon :name="toggleIcon" :size="8" class="append-right-5" />
<span>Toggle commit list</span> <span>Toggle commit list</span>
</div> </div>
......
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
<button <button
type="button" type="button"
class="btn-blank btn-link btn-secondary-hover-link" class="btn-blank btn-link btn-secondary-hover-link"
@click="newDateSelected(null);" @click="newDateSelected(null)"
> >
remove remove
</button> </button>
......
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
}" }"
class="page-item" class="page-item"
> >
<a class="page-link" @click.prevent="changePage(item.title, item.disabled);"> <a class="page-link" @click.prevent="changePage(item.title, item.disabled)">
{{ item.title }} {{ item.title }}
</a> </a>
</li> </li>
......
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
@updateSuccess="handleNotEditing" @updateSuccess="handleNotEditing"
@handleDeleteNote="deleteDraft" @handleDeleteNote="deleteDraft"
@handleUpdateNote="update" @handleUpdateNote="update"
@toggleResolveStatus="toggleResolveDiscussion(draft.id);" @toggleResolveStatus="toggleResolveDiscussion(draft.id)"
> >
<strong slot="note-header-info" class="badge draft-pending-label append-right-4"> <strong slot="note-header-info" class="badge draft-pending-label append-right-4">
{{ __('Pending') }} {{ __('Pending') }}
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
'is-last': isLast, 'is-last': isLast,
}, },
]" ]"
@click="scrollToDraft(draft);" @click="scrollToDraft(draft)"
> >
<span class="review-preview-item-header"> <span class="review-preview-item-header">
<icon class="append-right-8 flex-shrink-0" :name="iconName" /> <icon class="append-right-8 flex-shrink-0" :name="iconName" />
......
...@@ -226,7 +226,7 @@ export default { ...@@ -226,7 +226,7 @@ export default {
<div v-if="scopedIssueBoardFeatureEnabled"> <div v-if="scopedIssueBoardFeatureEnabled">
<div v-if="canAdminBoard" class="media append-bottom-10"> <div v-if="canAdminBoard" class="media append-bottom-10">
<label class="form-section-title label-bold media-body"> Board scope </label> <label class="form-section-title label-bold media-body"> Board scope </label>
<button v-if="collapseScope" type="button" class="btn" @click="expanded = !expanded;"> <button v-if="collapseScope" type="button" class="btn" @click="expanded = !expanded">
{{ expandButtonText }} {{ expandButtonText }}
</button> </button>
</div> </div>
......
...@@ -275,12 +275,12 @@ export default { ...@@ -275,12 +275,12 @@ export default {
<div v-if="canAdminBoard" class="dropdown-footer"> <div v-if="canAdminBoard" class="dropdown-footer">
<ul class="dropdown-footer-list"> <ul class="dropdown-footer-list">
<li v-if="multipleIssueBoardsAvailable"> <li v-if="multipleIssueBoardsAvailable">
<button type="button" @click.prevent="showPage('new');"> <button type="button" @click.prevent="showPage('new')">
{{ s__('IssueBoards|Create new board') }} {{ s__('IssueBoards|Create new board') }}
</button> </button>
</li> </li>
<li v-if="showDelete"> <li v-if="showDelete">
<button type="button" class="text-danger" @click.prevent="showPage('delete');"> <button type="button" class="text-danger" @click.prevent="showPage('delete')">
{{ s__('IssueBoards|Delete board') }} {{ s__('IssueBoards|Delete board') }}
</button> </button>
</li> </li>
......
...@@ -100,7 +100,7 @@ export default { ...@@ -100,7 +100,7 @@ export default {
:label="actionButtonText" :label="actionButtonText"
:loading="epicStatusChangeInProgress" :loading="epicStatusChangeInProgress"
:container-class="actionButtonClass" :container-class="actionButtonClass"
@click="toggleEpicStatus(isEpicOpen);" @click="toggleEpicStatus(isEpicOpen)"
/> />
</div> </div>
</div> </div>
......
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
:name="fieldName" :name="fieldName"
:checked="selectedDateIsFixed" :checked="selectedDateIsFixed"
type="radio" type="radio"
@click="toggleDateType(true);" @click="toggleDateType(true)"
/> />
<span v-show="!editing" class="prepend-left-5">{{ __('Fixed:') }}</span> <span v-show="!editing" class="prepend-left-5">{{ __('Fixed:') }}</span>
<date-picker <date-picker
...@@ -244,7 +244,7 @@ export default { ...@@ -244,7 +244,7 @@ export default {
<button <button
type="button" type="button"
class="btn-blank btn-link btn-default-hover-link" class="btn-blank btn-link btn-default-hover-link"
@click="newDateSelected(null);" @click="newDateSelected(null)"
> >
{{ __('remove') }} {{ __('remove') }}
</button> </button>
...@@ -266,7 +266,7 @@ export default { ...@@ -266,7 +266,7 @@ export default {
:name="fieldName" :name="fieldName"
:checked="!selectedDateIsFixed" :checked="!selectedDateIsFixed"
type="radio" type="radio"
@click="toggleDateType(false);" @click="toggleDateType(false)"
/> />
<span class="prepend-left-5">{{ __('From milestones:') }}</span> <span class="prepend-left-5">{{ __('From milestones:') }}</span>
<span class="value-content">{{ dateFromMilestonesWords }}</span> <span class="value-content">{{ dateFromMilestonesWords }}</span>
......
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
:key="index" :key="index"
:title="getColumnSortTooltip(column.name)" :title="getColumnSortTooltip(column.name)"
class="header" class="header"
@click="onColumnClick(column.name);" @click="onColumnClick(column.name)"
> >
{{ column.text }} <icon :size="12" :name="getColumnSortIcon(column.name)" /> {{ column.text }} <icon :size="12" :name="getColumnSortIcon(column.name)" />
</th> </th>
......
...@@ -101,8 +101,8 @@ export default { ...@@ -101,8 +101,8 @@ export default {
class="ml-auto" class="ml-auto"
:can-scroll-up="canScrollUp" :can-scroll-up="canScrollUp"
:can-scroll-down="canScrollDown" :can-scroll-down="canScrollDown"
@scroll-up="glterminal.scrollToTop();" @scroll-up="glterminal.scrollToTop()"
@scroll-down="glterminal.scrollToBottom();" @scroll-down="glterminal.scrollToBottom()"
/> />
</div> </div>
<div class="terminal-wrapper d-flex flex-fill min-height-0"> <div class="terminal-wrapper d-flex flex-fill min-height-0">
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
</script> </script>
<template> <template>
<div class="controllers"> <div class="controllers">
<scroll-button :disabled="!canScrollUp" direction="up" @click="$emit('scroll-up');" /> <scroll-button :disabled="!canScrollUp" direction="up" @click="$emit('scroll-up')" />
<scroll-button :disabled="!canScrollDown" direction="down" @click="$emit('scroll-down');" /> <scroll-button :disabled="!canScrollDown" direction="down" @click="$emit('scroll-down')" />
</div> </div>
</template> </template>
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
:message="allCheck.message" :message="allCheck.message"
:help-path="paths.webTerminalHelpPath" :help-path="paths.webTerminalHelpPath"
:illustration-path="paths.webTerminalSvgPath" :illustration-path="paths.webTerminalSvgPath"
@start="start();" @start="start()"
/> />
</div> </div>
<template v-else> <template v-else>
......
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
:disabled="disabled" :disabled="disabled"
type="button" type="button"
class="btn btn-default" class="btn btn-default"
@click="operator = operators.greaterThan;" @click="operator = operators.greaterThan"
> >
{{ operators.greaterThan }} {{ operators.greaterThan }}
</button> </button>
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
:disabled="disabled" :disabled="disabled"
type="button" type="button"
class="btn btn-default" class="btn btn-default"
@click="operator = operators.equalTo;" @click="operator = operators.equalTo"
> >
{{ operators.equalTo }} {{ operators.equalTo }}
</button> </button>
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
:disabled="disabled" :disabled="disabled"
type="button" type="button"
class="btn btn-default" class="btn btn-default"
@click="operator = operators.lessThan;" @click="operator = operators.lessThan"
> >
{{ operators.lessThan }} {{ operators.lessThan }}
</button> </button>
......
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
:key="project.id" :key="project.id"
type="button" type="button"
class="js-search-result dropdown-item btn-link d-flex align-items-center cgray py-2 px-4" class="js-search-result dropdown-item btn-link d-flex align-items-center cgray py-2 px-4"
@mousedown="addProjectToken(project);" @mousedown="addProjectToken(project)"
> >
<project-avatar :project="project" :size="20" class="flex-shrink-0 mr-3" /> <project-avatar :project="project" :size="20" class="flex-shrink-0 mr-3" />
<div class="flex-grow-1"> <div class="flex-grow-1">
......
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
</div> </div>
<div <div
class="js-token-remove tokenized-input-token-remove d-flex align-items-center text-secondary py-0 px-1 rounded-right" class="js-token-remove tokenized-input-token-remove d-flex align-items-center text-secondary py-0 px-1 rounded-right"
@click="removeProjectTokenAt(index);" @click="removeProjectTokenAt(index)"
> >
<icon name="close" /> <icon name="close" />
</div> </div>
......
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
:pipeline-status="pipeline.details.status" :pipeline-status="pipeline.details.status"
:pipeline-path="pipeline.path" :pipeline-path="pipeline.path"
:is-loading="pipeline.isLoading" :is-loading="pipeline.isLoading"
@pipelineClicked="$emit('linkedPipelineClick', pipeline, index);" @pipelineClicked="$emit('linkedPipelineClick', pipeline, index)"
/> />
</ul> </ul>
</div> </div>
......
...@@ -42,7 +42,7 @@ export default { ...@@ -42,7 +42,7 @@ export default {
ref="enabled-checkbox" ref="enabled-checkbox"
:checked="isEnabled" :checked="isEnabled"
type="checkbox" type="checkbox"
@change="onCheckboxToggle($event);" @change="onCheckboxToggle($event)"
/> />
<span class="descr"> Activate Service Desk </span> <span class="descr"> Activate Service Desk </span>
</label> </label>
......
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
class="js-issue-count-badge-add-button issue-count-badge-add-button btn btn-sm btn-default qa-add-issues-button" class="js-issue-count-badge-add-button issue-count-badge-add-button btn btn-sm btn-default qa-add-issues-button"
aria-label="Add an issue" aria-label="Add an issue"
data-placement="top" data-placement="top"
@click="$emit('toggleAddRelatedIssuesForm', $event);" @click="$emit('toggleAddRelatedIssuesForm', $event)"
> >
<i class="fa fa-plus" aria-hidden="true"></i> <i class="fa fa-plus" aria-hidden="true"></i>
</button> </button>
...@@ -192,11 +192,11 @@ export default { ...@@ -192,11 +192,11 @@ export default {
:pending-references="pendingReferences" :pending-references="pendingReferences"
:auto-complete-sources="autoCompleteSources" :auto-complete-sources="autoCompleteSources"
:path-id-separator="pathIdSeparator" :path-id-separator="pathIdSeparator"
@pendingIssuableRemoveRequest="$emit('pendingIssuableRemoveRequest', $event);" @pendingIssuableRemoveRequest="$emit('pendingIssuableRemoveRequest', $event)"
@addIssuableFormInput="$emit('addIssuableFormInput', $event);" @addIssuableFormInput="$emit('addIssuableFormInput', $event)"
@addIssuableFormBlur="$emit('addIssuableFormBlur', $event);" @addIssuableFormBlur="$emit('addIssuableFormBlur', $event)"
@addIssuableFormSubmit="$emit('addIssuableFormSubmit', $event);" @addIssuableFormSubmit="$emit('addIssuableFormSubmit', $event)"
@addIssuableFormCancel="$emit('addIssuableFormCancel', $event);" @addIssuableFormCancel="$emit('addIssuableFormCancel', $event)"
/> />
</div> </div>
<div <div
...@@ -243,7 +243,7 @@ export default { ...@@ -243,7 +243,7 @@ export default {
:can-reorder="canReorder" :can-reorder="canReorder"
:path-id-separator="pathIdSeparator" :path-id-separator="pathIdSeparator"
event-namespace="relatedIssue" event-namespace="relatedIssue"
@relatedIssueRemoveRequest="$emit('relatedIssueRemoveRequest', $event);" @relatedIssueRemoveRequest="$emit('relatedIssueRemoveRequest', $event)"
/> />
</li> </li>
</ul> </ul>
......
...@@ -96,9 +96,9 @@ export default { ...@@ -96,9 +96,9 @@ export default {
:vulnerability-feedback-help-path="vulnerabilityFeedbackHelpPath" :vulnerability-feedback-help-path="vulnerabilityFeedbackHelpPath"
:can-create-issue-permission="true" :can-create-issue-permission="true"
:can-create-feedback-permission="true" :can-create-feedback-permission="true"
@createNewIssue="createIssue({ vulnerability: modal.vulnerability });" @createNewIssue="createIssue({ vulnerability: modal.vulnerability })"
@dismissIssue="dismissVulnerability({ vulnerability: modal.vulnerability });" @dismissIssue="dismissVulnerability({ vulnerability: modal.vulnerability })"
@revertDismissIssue="revertDismissal({ vulnerability: modal.vulnerability });" @revertDismissIssue="revertDismissal({ vulnerability: modal.vulnerability })"
/> />
</div> </div>
</template> </template>
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
<gl-dropdown-item <gl-dropdown-item
v-for="option in filter.options" v-for="option in filter.options"
:key="option.id" :key="option.id"
@click="clickFilter(option);" @click="clickFilter(option)"
> >
<icon <icon
v-if="option.selected" v-if="option.selected"
......
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
class="col-sm-6 col-md-4 col-lg-2 p-2 js-filter" class="col-sm-6 col-md-4 col-lg-2 p-2 js-filter"
:filter-id="filter.id" :filter-id="filter.id"
:dashboard-documentation="dashboardDocumentation" :dashboard-documentation="dashboardDocumentation"
@change="$emit('change');" @change="$emit('change')"
/> />
</div> </div>
</div> </div>
......
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
v-for="vulnerability in vulnerabilities" v-for="vulnerability in vulnerabilities"
:key="vulnerability.id" :key="vulnerability.id"
:vulnerability="vulnerability" :vulnerability="vulnerability"
@openModal="openModal({ vulnerability });" @openModal="openModal({ vulnerability })"
/> />
<empty-state <empty-state
......
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
<gl-button <gl-button
class="btn js-vulnerability-info" class="btn js-vulnerability-info"
variant="blank" variant="blank"
@click="openModal({ vulnerability });" @click="openModal({ vulnerability })"
>{{ vulnerability.name }}</gl-button >{{ vulnerability.name }}</gl-button
> >
<span v-show="isDismissed" class="prepend-left-8 vertical-align-middle">DISMISSED</span> <span v-show="isDismissed" class="prepend-left-8 vertical-align-middle">DISMISSED</span>
......
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
:title="s__('Security Reports|More info')" :title="s__('Security Reports|More info')"
class="btn btn-secondary btn-icon js-more-info" class="btn btn-secondary btn-icon js-more-info"
type="button" type="button"
@click="openModal({ vulnerability });" @click="openModal({ vulnerability })"
> >
<icon name="information-o" /> <icon name="information-o" />
</button> </button>
......
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
v-if="editable" v-if="editable"
class="float-right js-weight-edit-link" class="float-right js-weight-edit-link"
href="#" href="#"
@click="showEditField(!shouldShowEditField);" @click="showEditField(!shouldShowEditField)"
> >
{{ __('Edit') }} {{ __('Edit') }}
</a> </a>
......
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
:footer-primary-button-text="s__('LicenseManagement|Remove license')" :footer-primary-button-text="s__('LicenseManagement|Remove license')"
footer-primary-button-variant="danger" footer-primary-button-variant="danger"
@cancel="resetLicenseInModal" @cancel="resetLicenseInModal"
@submit="deleteLicense(currentLicenseInModal);" @submit="deleteLicense(currentLicenseInModal)"
> >
<span v-if="currentLicenseInModal" v-html="confirmationText"></span> <span v-if="currentLicenseInModal" v-html="confirmationText"></span>
</gl-modal> </gl-modal>
......
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
type="button" type="button"
data-toggle="modal" data-toggle="modal"
data-target="#modal-set-license-approval" data-target="#modal-set-license-approval"
@click="setLicenseInModal(issue);" @click="setLicenseInModal(issue)"
> >
{{ issue.name }} {{ issue.name }}
</button> </button>
......
...@@ -67,11 +67,11 @@ export default { ...@@ -67,11 +67,11 @@ export default {
<icon class="float-right" name="chevron-down" /> {{ dropdownText }} <icon class="float-right" name="chevron-down" /> {{ dropdownText }}
</button> </button>
<div class="dropdown-menu dropdown-menu-right"> <div class="dropdown-menu dropdown-menu-right">
<button class="dropdown-item" type="button" @click="approveLicense(license);"> <button class="dropdown-item" type="button" @click="approveLicense(license)">
<icon :class="approveIconClass" name="mobile-issue-close" /> <icon :class="approveIconClass" name="mobile-issue-close" />
{{ $options[$options.LICENSE_APPROVAL_STATUS.APPROVED] }} {{ $options[$options.LICENSE_APPROVAL_STATUS.APPROVED] }}
</button> </button>
<button class="dropdown-item" type="button" @click="blacklistLicense(license);"> <button class="dropdown-item" type="button" @click="blacklistLicense(license)">
<icon :class="blacklistIconClass" name="mobile-issue-close" /> <icon :class="blacklistIconClass" name="mobile-issue-close" />
{{ $options[$options.LICENSE_APPROVAL_STATUS.BLACKLISTED] }} {{ $options[$options.LICENSE_APPROVAL_STATUS.BLACKLISTED] }}
</button> </button>
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
type="button" type="button"
data-toggle="modal" data-toggle="modal"
data-target="#modal-license-delete-confirmation" data-target="#modal-license-delete-confirmation"
@click="setLicenseInModal(license);" @click="setLicenseInModal(license)"
> >
<icon name="remove" /> <icon name="remove" />
</button> </button>
......
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
v-if="canBlacklist" v-if="canBlacklist"
class="btn btn-remove btn-inverted js-modal-secondary-action" class="btn btn-remove btn-inverted js-modal-secondary-action"
data-dismiss="modal" data-dismiss="modal"
@click="blacklistLicense(currentLicenseInModal);" @click="blacklistLicense(currentLicenseInModal)"
> >
{{ s__('LicenseManagement|Blacklist license') }} {{ s__('LicenseManagement|Blacklist license') }}
</button> </button>
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
type="button" type="button"
class="btn btn-success js-modal-primary-action" class="btn btn-success js-modal-primary-action"
data-dismiss="modal" data-dismiss="modal"
@click="approveLicense(currentLicenseInModal);" @click="approveLicense(currentLicenseInModal)"
> >
{{ s__('LicenseManagement|Approve license') }} {{ s__('LicenseManagement|Approve license') }}
</button> </button>
......
...@@ -245,7 +245,7 @@ export default { ...@@ -245,7 +245,7 @@ export default {
:disabled="modal.isCreatingNewIssue" :disabled="modal.isCreatingNewIssue"
:label="__('Create issue')" :label="__('Create issue')"
container-class="js-create-issue-btn btn btn-success btn-inverted" container-class="js-create-issue-btn btn btn-success btn-inverted"
@click="$emit('createNewIssue');" @click="$emit('createNewIssue')"
/> />
</template> </template>
</div> </div>
......
...@@ -7874,10 +7874,10 @@ prettier@1.13.7: ...@@ -7874,10 +7874,10 @@ prettier@1.13.7:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.7.tgz#850f3b8af784a49a6ea2d2eaa7ed1428a34b7281" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.7.tgz#850f3b8af784a49a6ea2d2eaa7ed1428a34b7281"
integrity sha512-KIU72UmYPGk4MujZGYMFwinB7lOf2LsDNGSOC8ufevsrPLISrZbNJlWstRi3m0AMuszbH+EFSQ/r6w56RSPK6w== integrity sha512-KIU72UmYPGk4MujZGYMFwinB7lOf2LsDNGSOC8ufevsrPLISrZbNJlWstRi3m0AMuszbH+EFSQ/r6w56RSPK6w==
prettier@1.15.2: prettier@1.15.3:
version "1.15.2" version "1.15.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.2.tgz#d31abe22afa4351efa14c7f8b94b58bb7452205e" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.3.tgz#1feaac5bdd181237b54dbe65d874e02a1472786a"
integrity sha512-YgPLFFA0CdKL4Eg2IHtUSjzj/BWgszDHiNQAe0VAIBse34148whfdzLagRL+QiKS+YfK5ftB6X4v/MBw8yCoug== integrity sha512-gAU9AGAPMaKb3NNSUUuhhFAS7SCO4ALTN4nRIn6PJ075Qd28Yn2Ig2ahEJWdJwJmlEBTUfC7mMUSFy8MwsOCfg==
pretty-format@^23.6.0: pretty-format@^23.6.0:
version "23.6.0" version "23.6.0"
......
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