diff --git a/src/modules/settings/routes/roles/detail/composables/use-permissions.ts b/src/modules/settings/routes/roles/detail/composables/use-permissions.ts index c17765f533..f4e9e66de7 100644 --- a/src/modules/settings/routes/roles/detail/composables/use-permissions.ts +++ b/src/modules/settings/routes/roles/detail/composables/use-permissions.ts @@ -42,7 +42,7 @@ export default function usePermissions(role: Ref) { try { const response = await api.get(`/permissions`, { params: { - 'filter[role][eq]': role.value, + 'filter[role][_eq]': role.value, }, }); diff --git a/src/views/private/components/comments-drawer-detail/comments-drawer-detail.vue b/src/views/private/components/comments-drawer-detail/comments-drawer-detail.vue index 04fd3dbf5b..cc05b54933 100644 --- a/src/views/private/components/comments-drawer-detail/comments-drawer-detail.vue +++ b/src/views/private/components/comments-drawer-detail/comments-drawer-detail.vue @@ -74,9 +74,9 @@ export default defineComponent({ try { const response = await api.get(`/activity`, { params: { - 'filter[collection][eq]': collection, - 'filter[item][eq]': primaryKey, - 'filter[action][in]': 'comment', + 'filter[collection][_eq]': collection, + 'filter[item][_eq]': primaryKey, + 'filter[action][_in]': 'comment', sort: '-id', // directus_activity has auto increment and is therefore in chronological order fields: [ 'id', diff --git a/src/views/private/components/user-popover/user-popover.vue b/src/views/private/components/user-popover/user-popover.vue index be446cd891..685cffaf30 100644 --- a/src/views/private/components/user-popover/user-popover.vue +++ b/src/views/private/components/user-popover/user-popover.vue @@ -47,7 +47,7 @@ type User = { export default defineComponent({ props: { user: { - type: Number, + type: String, required: true, }, },