Fix double api call in edit window

This commit is contained in:
Pixeldrain-Server committed 2023-05-25 14:47:36 +02:00
1 parent 794a38da19
commit fff705bc2a
7 files changed
+49 -24

No files matched your search

+12 -4
View File
@@ -317,16 +317,24 @@ onDestroy(() => {
<thead>
<tr>
<td>
<button on:click={() => { getStats('query_name') }}>Query</button>
<button on:click={() => { getStats('query_name') }}>
Query
</button>
</td>
<td>
<button style="cursor: pointer;" on:click={() => { getStats('calls') }}>Calls</button>
<button style="cursor: pointer;" on:click={() => { getStats('calls') }}>
Calls
</button>
</td>
<td>
<button style="cursor: pointer;" on:click={() => { getStats('average_duration') }}>Avg dur</button>
<button style="cursor: pointer;" on:click={() => { getStats('average_duration') }}>
Avg
</button>
</td>
<td>
<button style="cursor: pointer;" on:click={() => { getStats('total_duration') }}>Total dur</button>
<button style="cursor: pointer;" on:click={() => { getStats('total_duration') }}>
Total
</button>
</td>
<td>Callers</td>
</tr>