mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 09:00:50 +00:00
fix process selectors
This commit is contained in:
parent
83bb83522f
commit
417e2627ed
@ -65,17 +65,16 @@ export const selectorStore = defineStore({
|
|||||||
this.currentDestPod = pod;
|
this.currentDestPod = pod;
|
||||||
},
|
},
|
||||||
setCurrentProcess(process: Nullable<Process>) {
|
setCurrentProcess(process: Nullable<Process>) {
|
||||||
console.log(process);
|
|
||||||
this.currentProcess = process;
|
this.currentProcess = process;
|
||||||
},
|
},
|
||||||
setCurrentDestProcess(process: Nullable<Process>) {
|
setCurrentDestProcess(process: Nullable<Process>) {
|
||||||
this.currentDestPod = process;
|
this.currentDestProcess = process;
|
||||||
},
|
},
|
||||||
setDestPods(pods: Array<Instance | Endpoint>) {
|
setDestPods(pods: Array<Instance | Endpoint>) {
|
||||||
this.destPods = pods;
|
this.destPods = pods;
|
||||||
},
|
},
|
||||||
setDestProcesses(processes: Array<Process>) {
|
setDestProcesses(processes: Array<Process>) {
|
||||||
this.destProcess = processes;
|
this.destProcesses = processes;
|
||||||
},
|
},
|
||||||
async fetchLayers(): Promise<AxiosResponse> {
|
async fetchLayers(): Promise<AxiosResponse> {
|
||||||
const res: AxiosResponse = await graphql.query("queryLayers").params({});
|
const res: AxiosResponse = await graphql.query("queryLayers").params({});
|
||||||
|
Loading…
Reference in New Issue
Block a user