File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,11 @@ export default class DefaultLayout extends Vue {
3939
4040 mounted() {
4141 this .startPoller ()
42- setTimeout (
43- () => {
44- if (this .poller ) {
45- clearInterval (this .poller )
46- }
47- },
48- 60 * 1000 * 60 ,
49- )
42+ setTimeout (() => {
43+ if (this .poller ) {
44+ clearInterval (this .poller )
45+ }
46+ }, 60 * 1000 * 60 )
5047 }
5148
5249 beforeDestroy(): void {
@@ -64,7 +61,7 @@ export default class DefaultLayout extends Vue {
6461 setAuthHeader ((await this .$fire .auth .currentUser ?.getIdToken ()) ?? ' ' )
6562 promises .push (
6663 this .$store .dispatch (' loadThreads' ),
67- this .$store .dispatch (' getHeartbeat' ),
64+ this .$store .dispatch (' getHeartbeat' )
6865 )
6966 }
7067
@@ -76,8 +73,8 @@ export default class DefaultLayout extends Vue {
7673 promises .push (
7774 this .$store .dispatch (
7875 ' loadThreadMessages' ,
79- this .$store .getters .getThread .id ,
80- ),
76+ this .$store .getters .getThread .id
77+ )
8178 )
8279 }
8380 await Promise .all (promises )
You can’t perform that action at this time.
0 commit comments