Leon 1 år sedan
förälder
incheckning
6aaf1ddd4b
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      src/features/trackTimeDuration/components/IndexConsoleMuti.tsx

+ 3 - 1
src/features/trackTimeDuration/components/IndexConsoleMuti.tsx

@@ -170,7 +170,9 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
             global.scrollToLatest()
             global.refrehWeekly()
             global.refreshStreaks()
-            global.checkAccess((res as any).access)
+            if (props.event == 'end_fast'){
+                global.checkAccess((res as any).access)
+            }
 
             cancel()
         }).catch(e => {