refactor: unnecessary computed
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2024-06-11 08:30:18 +02:00
parent bf3c146317
commit 0289c167ee
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<script setup> <script setup>
import { computed, ref } from 'vue'; import { ref } from 'vue';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
@ -18,7 +18,7 @@ const { notify } = useNotify();
const { openConfirmationModal } = useVnConfirm(); const { openConfirmationModal } = useVnConfirm();
const paginateRef = ref(null); const paginateRef = ref(null);
const filter = computed(() => ({ const filter = {
fields: ['id', 'created', 'userId'], fields: ['id', 'created', 'userId'],
include: { include: {
relation: 'user', relation: 'user',
@ -27,7 +27,7 @@ const filter = computed(() => ({
}, },
}, },
order: 'created DESC', order: 'created DESC',
})); };
const urlPath = 'AccessTokens'; const urlPath = 'AccessTokens';