mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-25 21:56:07 +02:00
@@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user