We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8346e7b + ba13e42 commit 574de69Copy full SHA for 574de69
src/components/ActionList/ActionList.vue
@@ -85,7 +85,7 @@ const emits = defineEmits<{
85
'action-any-item': [];
86
}>();
87
88
-const filterActions = useFilterActions();
+const { filterActions } = useFilterActions();
89
const i18n = useI18n();
90
91
const searchText = ref<string>('');
src/use/useFilterActions.ts
@@ -1,6 +1,6 @@
1
import { inject } from 'vue';
2
3
export default function useFilterActions() {
4
- const context = inject('filter-actions', { filterActions: false });
+ const context = inject('filterActions', { filterActions: false });
5
return context;
6
}
0 commit comments