Client - fix error message on logout
This commit is contained in:
parent
00a400bc5b
commit
0e98efe5a9
@ -108,12 +108,14 @@
|
|||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => props.user.username,
|
() => props.user.username,
|
||||||
async () => {
|
async (newUsername) => {
|
||||||
store.dispatch(STATS_STORE.ACTIONS.GET_USER_STATS, {
|
if (newUsername) {
|
||||||
username: props.user.username,
|
store.dispatch(STATS_STORE.ACTIONS.GET_USER_STATS, {
|
||||||
filterType: 'by_time',
|
username: newUsername,
|
||||||
params: apiParams,
|
filterType: 'by_time',
|
||||||
})
|
params: apiParams,
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user