refactor: unnecessary computed
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
bf3c146317
commit
0289c167ee
|
@ -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';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue