tangled
alpha
login
or
join now
tree.fail
/
plcbundle-watch
9
fork
atom
this repo has no description
plcbundle-watch.pages.dev
9
fork
atom
overview
issues
pulls
1
pipelines
update
tree.fail
4 months ago
fb84b532
8c1e13bf
1/1
deploy.yml
success
9s
+4
-3
1 changed file
expand all
collapse all
unified
split
src
App.svelte
+4
-3
src/App.svelte
···
108
108
recalculateHead()
109
109
}))
110
110
isUpdating = false
111
111
-
document.title = genTitle()
111
111
+
updateTitle()
112
112
setTimeout(() => { canRefresh = true }, 500)
113
113
}
114
114
115
115
-
function genTitle () {
115
115
+
function updateTitle () {
116
116
const arr = []
117
117
if (lastUpdated > 0) {
118
118
const upCount = instances.filter(i => i._head)
119
119
arr.push(`${isConflict ? '⚠️' : '✅'} [${upCount.length}/${instances.length}]`)
120
120
}
121
121
-
return [...arr, APP_TITLE].join(' ')
121
121
+
document.title = [...arr, APP_TITLE].join(' ')
122
122
+
return true
122
123
}
123
124
124
125
onMount(async () => {