diff --git a/src/stores/allMapData.js b/src/stores/allMapData.js
index b7559f1..063b49f 100644
--- a/src/stores/allMapData.js
+++ b/src/stores/allMapData.js
@@ -127,12 +127,12 @@ export default defineStore('allMapDataStore', {
async getAllMapData() {
const logId = this.logId;
const tempFilterId = this.tempFilterId;
- const createfilterId = this.createFilterId
+ const createFilterId = this.createFilterId
let api = '';
// 先判斷暫存 再判斷 filter 最後 log
if(tempFilterId != null) api = `/api/temp-filters/${tempFilterId}/discover`;
- else if(createfilterId!= null) api = `/api/filters/${createfilterId}/discover`;
+ else if(createFilterId!= null) api = `/api/filters/${createFilterId}/discover`;
else api = `/api/logs/${logId}/discover`;
try {
@@ -151,14 +151,14 @@ export default defineStore('allMapDataStore', {
async getAllTrace() {
const logId = this.logId;
const tempFilterId = this.tempFilterId;
- const createfilterId = this.createFilterId;
+ const createFilterId = this.createFilterId;
const baseLogId = this.baseLogId;
const baseApi = `/api/logs/${baseLogId}/traces`;
let api = '';
// 先判斷暫存 再判斷 filter 最後 log
if(tempFilterId != null) api = `/api/temp-filters/${tempFilterId}/traces`;
- else if(createfilterId!= null) api = `/api/filters/${createfilterId}/traces`;
+ else if(createFilterId!= null) api = `/api/filters/${createFilterId}/traces`;
else api = `/api/logs/${logId}/traces`;
try {
@@ -180,13 +180,13 @@ export default defineStore('allMapDataStore', {
const logId = this.logId;
const traceId = this.traceId;
const tempFilterId = this.tempFilterId;
- const createfilterId = this.createFilterId;
+ const createFilterId = this.createFilterId;
const start = this.infiniteStart;
let api = '';
// 先判斷暫存 再判斷 filter 最後 log
if(tempFilterId != null) api = `/api/temp-filters/${tempFilterId}/traces/${traceId}?start=${start}&page_size=20`;
- else if(createfilterId!= null) api = `/api/filters/${createfilterId}/traces/${traceId}?start=${start}&page_size=20`;
+ else if(createFilterId!= null) api = `/api/filters/${createFilterId}/traces/${traceId}?start=${start}&page_size=20`;
else api = `/api/logs/${logId}/traces/${traceId}?start=${start}&page_size=20`;
try {
@@ -336,12 +336,12 @@ export default defineStore('allMapDataStore', {
},
/**
* Get Filter Detail
- * @param {namber} createfilterId filter type ID
+ * @param {number} createFilterId filter type ID
*/
- async fetchFunnel(createfilterId) {
- const api = `/api/filters/${createfilterId}`;
+ async fetchFunnel(createFilterId) {
+ const api = `/api/filters/${createFilterId}`;
- if(createfilterId){
+ if(createFilterId){
try {
const response = await this.$axios.get(api);
this.temporaryData = response.data.rules;
diff --git a/src/views/Compare/MapCompare.vue b/src/views/Compare/MapCompare.vue
index d60d02b..a11c5dd 100644
--- a/src/views/Compare/MapCompare.vue
+++ b/src/views/Compare/MapCompare.vue
@@ -49,7 +49,7 @@
+ @submit-all="createCy(mapType)" @switch-Trace-Id="switchTraceId" ref="sidebarFilterRef">