Commit 0a090a41 authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch '249798-replace-tooltip' into 'master'

Replace BSTooltip with GlTooltip in board_delete.js

See merge request gitlab-org/gitlab!44379
parents 4099a40e 631fbab7
import $ from 'jquery';
import Vue from 'vue';
import { GlButton, GlTooltipDirective } from '@gitlab/ui';
import { __ } from '~/locale';
import { hide } from '~/tooltips';
export default Vue.extend({
components: {
......@@ -19,7 +19,7 @@ export default Vue.extend({
},
methods: {
deleteBoard() {
$(this.$el).tooltip('hide');
hide(this.$el);
// eslint-disable-next-line no-alert
if (window.confirm(__('Are you sure you want to delete this list?'))) {
......
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