Skip to content

Commit bf4b46e

Browse files
committed
fix: remove 10s poll test code
1 parent b8475c2 commit bf4b46e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/resources/views/export-button.blade.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
emailTo: '{{urlencode($emailTo)}}',
1313
});
1414
15-
$.get(baseUrl + '?' + params.toString() + '&' + $.param(oTable.ajax.params()))
16-
.then(function(exportId) {
15+
$.get(baseUrl + '?' + params.toString() + '&' + $.param(oTable.ajax.params())).then(function(exportId) {
1716
$wire.export(exportId)
1817
}).catch(function(error) {
1918
$wire.exportFinished = true;
@@ -35,7 +34,7 @@ class="{{ $class }}"
3534
@endif
3635

3736
@if($exporting && !$exportFinished)
38-
<div class="d-inline" wire:poll.10s="updateExportProgress">Exporting...please wait.</div>
37+
<div class="d-inline" wire:poll="updateExportProgress">Exporting...please wait.</div>
3938
@endif
4039

4140
@if($exportFinished && !$exportFailed && !$autoDownload)

0 commit comments

Comments
 (0)