Unverified Commit 35757bd6 authored by Marius van den Beek's avatar Marius van den Beek Committed by GitHub
Browse files

Merge pull request #14349 from davelopez/22.05_avoid_double_loading_histories

[22.05] Reload histories when the user 'really' changes
parents d49c72b7 5695e75e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -47,8 +47,10 @@ export default {
        // when user changes reload histories
        user: {
            immediate: true,
            handler() {
            handler(newVal, oldVal) {
                if (oldVal?.id != newVal?.id) {
                    this.loadHistories();
                }
            },
        },