Discover: sidebarFilter Funnel to be decided.
This commit is contained in:
@@ -14,6 +14,7 @@ export default defineStore('allMapDataStore', {
|
||||
state: () => ({
|
||||
logId: null,
|
||||
traceId: 1,
|
||||
tempFilterId: null,
|
||||
allProcessMap: {},
|
||||
allBpmn: {},
|
||||
allStats: {},
|
||||
@@ -75,7 +76,11 @@ export default defineStore('allMapDataStore', {
|
||||
*/
|
||||
async getAllMapData() {
|
||||
let logId = this.logId;
|
||||
const api = `/api/logs/${logId}/discover`;
|
||||
let tempFilterId = this.tempFilterId;
|
||||
let api = tempFilterId !== null ? `/api/temp-filters/${tempFilterId}/discover` : `/api/logs/${logId}/discover`;
|
||||
console.log(tempFilterId);
|
||||
console.log(logId);
|
||||
// const api = `/api/logs/${logId}/discover`;
|
||||
|
||||
try {
|
||||
const response = await this.$axios.get(api);
|
||||
|
||||
Reference in New Issue
Block a user