mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
tidy up
This commit is contained in:
+1
-11
@@ -24,18 +24,8 @@ export const useFeedStore = defineStore('Feed', () => {
|
||||
vip: false,
|
||||
loading: false,
|
||||
filter: [],
|
||||
tableProps: {
|
||||
stripe: true,
|
||||
size: 'small',
|
||||
defaultSort: null,
|
||||
rowKey: (row) =>
|
||||
`${row.type}:${row.rowId ?? row.uid}:${row.created_at ?? ''}`
|
||||
},
|
||||
pageSize: 20,
|
||||
pageSizeLinked: true,
|
||||
paginationProps: {
|
||||
layout: 'sizes,prev,pager,next,total'
|
||||
}
|
||||
pageSizeLinked: true
|
||||
});
|
||||
|
||||
const feedSessionTable = ref([]);
|
||||
|
||||
@@ -87,16 +87,8 @@ export const useFriendStore = defineStore('Friend', () => {
|
||||
!(filter.value && row.type === 'Unfriend')
|
||||
}
|
||||
],
|
||||
tableProps: {
|
||||
stripe: true,
|
||||
size: 'small',
|
||||
defaultSort: null
|
||||
},
|
||||
pageSize: 20,
|
||||
pageSizeLinked: true,
|
||||
paginationProps: {
|
||||
layout: 'sizes,prev,pager,next,total'
|
||||
}
|
||||
pageSizeLinked: true
|
||||
});
|
||||
|
||||
const vipFriends = computed(() => {
|
||||
|
||||
@@ -63,18 +63,8 @@ export const useGameLogStore = defineStore('GameLog', () => {
|
||||
loading: false,
|
||||
search: '',
|
||||
filter: [],
|
||||
tableProps: {
|
||||
stripe: true,
|
||||
size: 'small',
|
||||
defaultSort: null,
|
||||
rowKey: (row) =>
|
||||
`${row.type}:${row.rowId ?? row.uid ?? row.displayName + row.location + row.time}:${row.created_at ?? ''}`
|
||||
},
|
||||
pageSize: 20,
|
||||
pageSizeLinked: true,
|
||||
paginationProps: {
|
||||
layout: 'sizes,prev,pager,next,total'
|
||||
},
|
||||
vip: false
|
||||
});
|
||||
|
||||
|
||||
@@ -26,19 +26,8 @@ export const useModerationStore = defineStore('Moderation', () => {
|
||||
value: ''
|
||||
}
|
||||
],
|
||||
tableProps: {
|
||||
stripe: true,
|
||||
size: 'small',
|
||||
defaultSort: {
|
||||
prop: 'created',
|
||||
order: 'descending'
|
||||
}
|
||||
},
|
||||
pageSize: 20,
|
||||
pageSizeLinked: true,
|
||||
paginationProps: {
|
||||
layout: 'sizes,prev,pager,next,total'
|
||||
}
|
||||
pageSizeLinked: true
|
||||
});
|
||||
|
||||
watch(
|
||||
|
||||
Reference in New Issue
Block a user