debian-mirror-gitlab/app/assets/javascripts/vue_shared/plugins/global_toast.js

9 lines
170 B
JavaScript
Raw Normal View History

2019-12-04 20:38:33 +05:30
import Vue from 'vue';
import { GlToast } from '@gitlab/ui';
Vue.use(GlToast);
export default function showGlobalToast(...args) {
return Vue.toasted.show(...args);
}