mirror of
https://github.com/Telecominfraproject/wlan-cloud-owls-ui.git
synced 2025-11-01 11:08:00 +00:00
Merge pull request #21 from AriliaWireless/master
[WIFI-13169] Add support for master/slave nodes
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "owls-ui",
|
"name": "owls-ui",
|
||||||
"version": "3.0.0(3)",
|
"version": "3.0.0(4)",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "owls-ui",
|
"name": "owls-ui",
|
||||||
"version": "3.0.0(3)",
|
"version": "3.0.0(4)",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@chakra-ui/icons": "^2.0.18",
|
"@chakra-ui/icons": "^2.0.18",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "owls-ui",
|
"name": "owls-ui",
|
||||||
"version": "3.0.0(3)",
|
"version": "3.0.0(4)",
|
||||||
"description": "",
|
"description": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "index.tsx",
|
"main": "index.tsx",
|
||||||
|
|||||||
@@ -130,7 +130,8 @@ const getSimulationsStatus = async () =>
|
|||||||
export const useGetSimulationsStatus = () =>
|
export const useGetSimulationsStatus = () =>
|
||||||
useQuery(['simulations', 'status'], getSimulationsStatus, {
|
useQuery(['simulations', 'status'], getSimulationsStatus, {
|
||||||
keepPreviousData: true,
|
keepPreviousData: true,
|
||||||
staleTime: Infinity,
|
staleTime: 1000 * 10,
|
||||||
|
refetchInterval: 1000 * 10,
|
||||||
});
|
});
|
||||||
|
|
||||||
const getSimulationStatus = async (context: QueryFunctionContext<[string, string, string]>) =>
|
const getSimulationStatus = async (context: QueryFunctionContext<[string, string, string]>) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user