Skip to content

Commit

Permalink
Use new clickaway to get rid of compile error ...
Browse files Browse the repository at this point in the history
This doesn't actually make it work yet. This code was taken from other branch.
  • Loading branch information
jasonvarga committed Jan 8, 2025
1 parent 84c9f8f commit dd5239d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions resources/js/components/GlobalSearch.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="global-search" :class="{'dirty': isDirty}" v-on-clickaway="reset" v-cloak>
<div class="global-search" :class="{'dirty': isDirty}" v-click-away="reset" v-cloak>
<div class="state-container w-4 h-4 text-gray-500 flex items-center" @click="focus">
<svg-icon name="light/magnifying-glass" class="w-4 h-4"></svg-icon>
</div>
Expand Down Expand Up @@ -53,11 +53,7 @@


<script>
import { mixin as clickaway } from 'vue-clickaway';
export default {
mixins: [ clickaway ],
props: {
endpoint: String,
placeholder: String
Expand Down

0 comments on commit dd5239d

Please sign in to comment.