Only import VTooltip once

This commit is contained in:
Raimund Schlüßler 2018-09-10 21:54:33 +02:00
parent b34b064bb9
commit 6237136aa8
No known key found for this signature in database
GPG key ID: 036FA7EB1A599178
3 changed files with 3 additions and 8 deletions

View file

@ -42,12 +42,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
</template> </template>
<script> <script>
import Vue from 'vue'
import VTooltip from 'v-tooltip'
import clickOutside from 'vue-click-outside' import clickOutside from 'vue-click-outside'
Vue.use(VTooltip)
export default { export default {
name: 'PopoverMenu', name: 'PopoverMenu',
components: { components: {

View file

@ -166,17 +166,13 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
</template> </template>
<script> <script>
import Vue from 'vue'
import { mapState, mapGetters } from 'vuex' import { mapState, mapGetters } from 'vuex'
import Colorpicker from './Colorpicker' import Colorpicker from './Colorpicker'
import PopoverMenu from './PopoverMenu' import PopoverMenu from './PopoverMenu'
import Confirmation from './Confirmation' import Confirmation from './Confirmation'
import VTooltip from 'v-tooltip'
import clickOutside from 'vue-click-outside' import clickOutside from 'vue-click-outside'
Vue.use(VTooltip)
export default { export default {
components: { components: {
'colorpicker': Colorpicker, 'colorpicker': Colorpicker,

View file

@ -26,6 +26,9 @@ import Vue from 'vue'
import router from './components/TheRouter' import router from './components/TheRouter'
import store from './store' import store from './store'
import VTooltip from 'v-tooltip'
Vue.use(VTooltip)
if (!OCA.Tasks) { if (!OCA.Tasks) {
/** /**