Only import VTooltip once
This commit is contained in:
parent
b34b064bb9
commit
6237136aa8
3 changed files with 3 additions and 8 deletions
|
@ -42,12 +42,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Vue from 'vue'
|
||||
import VTooltip from 'v-tooltip'
|
||||
import clickOutside from 'vue-click-outside'
|
||||
|
||||
Vue.use(VTooltip)
|
||||
|
||||
export default {
|
||||
name: 'PopoverMenu',
|
||||
components: {
|
||||
|
|
|
@ -166,17 +166,13 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Vue from 'vue'
|
||||
import { mapState, mapGetters } from 'vuex'
|
||||
import Colorpicker from './Colorpicker'
|
||||
import PopoverMenu from './PopoverMenu'
|
||||
import Confirmation from './Confirmation'
|
||||
import VTooltip from 'v-tooltip'
|
||||
|
||||
import clickOutside from 'vue-click-outside'
|
||||
|
||||
Vue.use(VTooltip)
|
||||
|
||||
export default {
|
||||
components: {
|
||||
'colorpicker': Colorpicker,
|
||||
|
|
|
@ -26,6 +26,9 @@ import Vue from 'vue'
|
|||
|
||||
import router from './components/TheRouter'
|
||||
import store from './store'
|
||||
import VTooltip from 'v-tooltip'
|
||||
|
||||
Vue.use(VTooltip)
|
||||
|
||||
if (!OCA.Tasks) {
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue