Web UI (graphs): fixed extension error

An error in the previous commit was fixed.