Hack auto update checked_in cell because we removed pubnub dependency
This commit is contained in:
parent
71a2e9999e
commit
18d846c8c1
1 changed files with 2 additions and 0 deletions
|
@ -174,6 +174,8 @@ const checkIn = (id) => {
|
||||||
title = 'Checked in!'
|
title = 'Checked in!'
|
||||||
msg = 'The hacker was checked in!'
|
msg = 'The hacker was checked in!'
|
||||||
type = 'success'
|
type = 'success'
|
||||||
|
// Update table in admin.html (This is a hack, and a terrible one, but at least there's feedback on the change.
|
||||||
|
document.getElementById(id + '-checked_in').innerHTML = "True"
|
||||||
} else {
|
} else {
|
||||||
title = 'Error!'
|
title = 'Error!'
|
||||||
msg = JSON.stringify(data)
|
msg = JSON.stringify(data)
|
||||||
|
|
Loading…
Add table
Reference in a new issue