|
@ -1,19 +1,8 @@ |
|
|
<script lang="ts"> |
|
|
<script lang="ts"> |
|
|
import { onMount } from "svelte"; |
|
|
import { onMount } from "svelte"; |
|
|
import goalStore, { fpGoalStore } from "../stores/goal"; |
|
|
|
|
|
import logStore from "../stores/logs"; |
|
|
|
|
|
import markStale from "../stores/markStale"; |
|
|
|
|
|
import projectStore, { fpProjectStore } from "../stores/project"; |
|
|
|
|
|
|
|
|
|
|
|
let lastFocus = new Date(); |
|
|
|
|
|
|
|
|
import markStale from "../stores/markStale"; |
|
|
|
|
|
|
|
|
function handleFocus() { |
|
|
function handleFocus() { |
|
|
if (Date.now() - lastFocus.getTime() < 60000) { |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
lastFocus = new Date(); |
|
|
|
|
|
|
|
|
|
|
|
markStale("*"); |
|
|
markStale("*"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|