mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 16:06:56 +00:00
fix: use useInjectionState instead of inject context
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import { useBaseActions } from './useBaseActions'
|
||||
import { useBaseActionsOrThrow } from './useBaseActions'
|
||||
|
||||
const props = defineProps<{
|
||||
base: NcProject
|
||||
@@ -11,7 +11,7 @@ const props = defineProps<{
|
||||
|
||||
// Get actions from provider
|
||||
const { onRename, onToggleStarred, onDuplicate, onOpenErd, onOpenSettings, onDelete, onUpdateColor, onSelect } =
|
||||
useBaseActions()
|
||||
useBaseActionsOrThrow()
|
||||
|
||||
const { isUIAllowed } = useRoles()
|
||||
const { $e } = useNuxtApp()
|
||||
|
||||
Reference in New Issue
Block a user