release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
1 changed files with 11 additions and 5 deletions
Showing only changes of commit c9d8365def - Show all commits

View File

@ -44,10 +44,12 @@ export default defineComponent({
onMounted(() => { onMounted(() => {
void store.dispatch('balance/getBalance'); void store.dispatch('balance/getBalance');
onRequest({ void store.dispatch('user/getUsers').then(() =>
pagination: pagination.value, onRequest({
filter: undefined pagination: pagination.value,
}); filter: undefined
})
);
}); });
const showCancelled = ref(false); const showCancelled = ref(false);
@ -138,7 +140,11 @@ export default defineComponent({
name: 'author_id', name: 'author_id',
label: 'Benutzer', label: 'Benutzer',
field: 'author_id', field: 'author_id',
format: (val: string) => store.state.user.users.filter(x => x.userid == val)[0].display_name format: (val: string) => {
const user = store.state.user.users.filter(x => x.userid == val);
if (user.length > 0) return user[0].display_name;
else return val;
}
} }
]; ];