Remove unnecessary await on non-Promise values in FunnelFilter
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -128,10 +128,10 @@ async function deleteRule(index) {
|
||||
ruleData.value = [];
|
||||
if (tempFilterId.value) {
|
||||
isLoading.value = true;
|
||||
tempFilterId.value = await null;
|
||||
tempFilterId.value = null;
|
||||
await allMapDataStore.getAllMapData();
|
||||
await allMapDataStore.getAllTrace(); // SidebarTrace needs to update in sync
|
||||
await emit("submit-all");
|
||||
emit("submit-all");
|
||||
isLoading.value = false;
|
||||
}
|
||||
$toast.success("Filter(s) deleted.");
|
||||
@@ -157,9 +157,9 @@ async function submitAll() {
|
||||
await allMapDataStore.getAllMapData();
|
||||
await allMapDataStore.getAllTrace(); // SidebarTrace needs to update in sync
|
||||
if (temporaryData.value[0]?.type) {
|
||||
allMapDataStore.traceId = await allMapDataStore.traces[0]?.id;
|
||||
allMapDataStore.traceId = allMapDataStore.traces[0]?.id;
|
||||
}
|
||||
await emit("submit-all");
|
||||
emit("submit-all");
|
||||
isLoading.value = false;
|
||||
$toast.success("Filter(s) applied.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user