mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-04 12:40:10 +00:00
fix: custom code boolean variable
This commit is contained in:
@@ -28,7 +28,7 @@ export default function ServerCard({ now, serverInfo }: { now: number; serverInf
|
||||
|
||||
const showFlag = true
|
||||
// @ts-expect-error ShowNetTransfer is a global variable
|
||||
const showNetTransfer = window.ShowNetTransfer === "true"
|
||||
const showNetTransfer = window.ShowNetTransfer as boolean
|
||||
|
||||
const parsedData = parsePublicNote(public_note)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user