We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f388e3 + 999ad17 commit 6557064Copy full SHA for 6557064
src/Services/DataTable.php
@@ -172,10 +172,6 @@ public function __construct()
172
*/
173
public function render(?string $view = null, array $data = [], array $mergeData = [])
174
{
175
- if ($this->request()->ajax() && $this->request()->wantsJson()) {
176
- return app()->call($this->ajax(...));
177
- }
178
-
179
/** @var string $action */
180
$action = $this->request()->get('action');
181
$actionMethod = $action === 'print' ? 'printPreview' : $action;
@@ -187,6 +183,10 @@ public function render(?string $view = null, array $data = [], array $mergeData
187
183
return app()->call($callback);
188
184
}
189
185
186
+ if ($this->request()->ajax() && $this->request()->wantsJson()) {
+ return app()->call($this->ajax(...));
+ }
+
190
/** @phpstan-ignore-next-line */
191
return view($view, $data, $mergeData)->with($this->dataTableVariable, $this->getHtmlBuilder());
192
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments