mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
parent
4b922c575e
commit
d9f9c8aaf5
@ -89,7 +89,7 @@
|
|||||||
|
|
||||||
// Force refresh list with existing unchanged variables (== usually would not trigger reactivity)
|
// Force refresh list with existing unchanged variables (== usually would not trigger reactivity)
|
||||||
export function refresh() {
|
export function refresh() {
|
||||||
queryStore({
|
jobs = queryStore({
|
||||||
client: client,
|
client: client,
|
||||||
query: query,
|
query: query,
|
||||||
variables: { paging, sorting, filter },
|
variables: { paging, sorting, filter },
|
||||||
|
@ -64,11 +64,12 @@
|
|||||||
variables: { id, metrics, scopes }
|
variables: { id, metrics, scopes }
|
||||||
});
|
});
|
||||||
|
|
||||||
function refresh() {
|
export function refresh() {
|
||||||
queryStore({
|
metricsQuery = queryStore({
|
||||||
client: client,
|
client: client,
|
||||||
query: query,
|
query: query,
|
||||||
variables: { id, metrics, scopes }
|
variables: { id, metrics, scopes },
|
||||||
|
// requestPolicy: 'network-only' // use default cache-first for refresh
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user