fix: repair monitor sidebar and alert rendering
This commit is contained in:
@@ -144,9 +144,7 @@ export default function MonitorPage() {
|
||||
|
||||
const createChallenge = async (id: number) => {
|
||||
const r = await api.post<{ identifier: string; challenge_uuid: string; expires_at: string }>('/monitor/admin/servers/' + id + '/challenge')
|
||||
alert('identifier=' + r.data.identifier + '
|
||||
challenge_uuid=' + r.data.challenge_uuid + '
|
||||
expires_at=' + r.data.expires_at)
|
||||
alert('identifier=' + r.data.identifier + '\nchallenge_uuid=' + r.data.challenge_uuid + '\nexpires_at=' + r.data.expires_at)
|
||||
}
|
||||
|
||||
if (loading) return <div className='loading'>Monitor loading...</div>
|
||||
|
||||
Reference in New Issue
Block a user