fixed devices summary not loading through context
This commit is contained in:
parent
b0274ad639
commit
9eb9740525
6 changed files with 27 additions and 23 deletions
|
|
@ -193,7 +193,7 @@ export default function DeviceProvider(props: PropsWithChildren<Props>) {
|
|||
types?: string[]
|
||||
) => {
|
||||
let url = pondURL("/deviceStatistics");
|
||||
if (types && types.length > 0 && types[0] === "team")
|
||||
if (types && types.length > 0)
|
||||
url = pondURL(
|
||||
"/deviceStatistics/" +
|
||||
(keys ? "?keys=" + keys.toString() : "") +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue